cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julio cesar sanchez <>
Subject Re: [Android] onPause and onResume in the background on WebViews
Date Tue, 04 Oct 2016 07:24:05 GMT
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 play
them and inAppBrowser already have an option to pause the videos when the
app pauses. I'm against using iframes to load external content on Cordova
apps, and a youtube video is an iframe.

2016-10-04 1:23 GMT+02:00 Joe Bowser <>:

> Hey
> So, this bug came in and it's an important one:
> 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 onPause and onResume on the
> webview every time the app pauses and resumes in Cordova, but I'm wondering
> if that screws people up.  I know that we're at the eve of a major change,
> so I can just break stuff, but it'd be good to get feedback before doing
> it.
> What do people think? This is a pretty important change.
> Joe

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message