Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic Webview 2.4.0 removes WKSuspendInBackground #146

Open
nowrap opened this issue Feb 26, 2019 · 2 comments
Open

Ionic Webview 2.4.0 removes WKSuspendInBackground #146

nowrap opened this issue Feb 26, 2019 · 2 comments

Comments

@nowrap
Copy link

nowrap commented Feb 26, 2019

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

@ghenry22
Copy link
Contributor

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
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants