Adding `cordova-plugin-background-mode`
-
I am working on adding this plugin
cordova-plugin-background-mode
from https://github.com/katzer/cordova-plugin-background-mode, I’ve even created a fresh simple project, but it’s impossible to use it.The given project seems to have all the right and compatible structure with other cordova plugins, and it exports itself as the following:
<clobbers target="cordova.plugins.backgroundMode" /> <clobbers target="plugin.backgroundMode" />
Yet both of these names - after
deviceready
areundefined
in runtime (iOS).
-
@j4hangir, for custom plugins to work you may have to build your app for production and test it under Apple’s TestFlight.
https://developer.apple.com/testflight/
Jamal
-
@jamal Thank you, the problem was resolved that way.