Re: [Android] onPause and onResume in the background on WebViews

2016-10-11 Thread Jesse
So if we add PauseOnBackground as a new feature, the default value is whatever happens now? Meaning no one has to care if they don't care? @purplecabbage risingj.com On Tue, Oct 4, 2016 at 10:47 AM, Joe Bowser wrote: > Yeah, I think we shouldn't break users. That said, I

Re: [Android] onPause and onResume in the background on WebViews

2016-10-04 Thread Joe Bowser
Yeah, I think we shouldn't break users. That said, I do think PauseOnBackground should be a new feature. I don't know if it'll land in 6.0 though, since I want to get the vote out this week. On Tue, Oct 4, 2016 at 10:40 AM, Shazron wrote: > We could like you said make a

Re: [Android] onPause and onResume in the background on WebViews

2016-10-04 Thread Shazron
We could like you said make a breaking change, but allow a preference to be set. We either make the preference backwards compatible (ie KeepRunning = true) so existing apps still work the same on Cordova-Android 6, or break backwards compatibility with KeepRunning=false as default. I would

Re: [Android] onPause and onResume in the background on WebViews

2016-10-04 Thread julio cesar sanchez
Yes, I think that will screw a lot of apps that keep running in the background. Maybe it should be a config.xml preference with default value not to pause it. But my real opinion about this issue is that I don't think the videos should be embedded into the app, people should use inAppBrowser to

[Android] onPause and onResume in the background on WebViews

2016-10-03 Thread Joe Bowser
Hey So, this bug came in and it's an important one: https://issues.apache.org/jira/browse/CB-11935 I've already accepted the fix for KeepRunning = false, but apps that start in the background that have their JS running, and other apps probably need to have their status managed. I want to run