cordova-music-controls-plugin icon indicating copy to clipboard operation
cordova-music-controls-plugin copied to clipboard

Ionic Webview 2.4.0 removes WKSuspendInBackground

Open nowrap opened this issue 6 years ago • 2 comments
trafficstars

Hello, version 2.4.0 removes WKSuspendInBackground: https://github.com/ionic-team/cordova-plugin-ionic-webview/releases/tag/v2.4.0 https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/310/files

My app retrieves the next track from native storage (sqlite) after finishing a track. With version 2.4.0 the retrieval doesn't finish anymore.

Does someone have any advises?

Regards .nowrap

nowrap avatar Feb 26 '19 11:02 nowrap

https://github.com/ghenry22/cordova-plugin-ionic-webview-v2

I have a fork of the ionic webview here which has the wksuspendinbackground setting restored. Just install the plugin directly from the repo URL above and you're back in business.

I am working on a modified background-mode plugin which will work nicely with the official ionic webview and app stores to restore the functionality but in it's own plugin.

ghenry22 avatar Apr 18 '19 10:04 ghenry22

@nowrap the option has been added back to the ionic webview now, you could close this and move back to the official ionic webview plugin.

ghenry22 avatar May 13 '19 06:05 ghenry22