Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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.