cordova-plugin-background-mode icon indicating copy to clipboard operation
cordova-plugin-background-mode copied to clipboard

Meshing together some updates for iOS 13 fixes

Open thompsd3 opened this issue 5 years ago • 1 comments

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

thompsd3 avatar Sep 28 '20 17:09 thompsd3

I'm very interested in getting this working for ios13. However, cordova-ios has switched the webview to WKWebView(see https://github.com/apache/cordova-ios/pull/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

chevett avatar Oct 15 '20 03:10 chevett