Skip to content

Conversation

@thompsd3
Copy link

Main reason I'm creating a PR is because in order to use the ionic/background-mode package within angular, it references this repo and doesn't recognize that my custom plugin (or anyone elses) is installed. We should start a new repo that can contributed to since this repo is directly tied to a the ionic plugin but is very out of date especially when it comes to iOS.

https://github.com/ionic-team/ionic-native/blob/master/src/@ionic-native/plugins/background-mode/index.ts#L76

kitolog and others added 8 commits December 7, 2018 17:18
Added information regarding additions to the Controller that can help with backgrounding, particularly for music apps that need to skip to the next song while in the background.
@chevett
Copy link

chevett commented Oct 15, 2020

I'm very interested in getting this working for ios13. However, cordova-ios has switched the webview to WKWebView(see apache/cordova-ios#773).

Before cordova-ios@6 this plugin could keep my app running indefinitely. After upgrading to cordova-ios@6, my web page lasts exactly 30 seconds after background mode is activated every time.

I believe this plugin requires a new technique to support WKWebView in cordova-ios@6

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

Successfully merging this pull request may close these issues.

4 participants