The PowerManagement plugin for iOS has already been updated to be compatible with Apache Cordova 3.0.0. You can get the latest version for iOS from here.
To update the plugin in your project, just replace the existing plugin files with the updated ones. Make sure to make any necessary modifications in the code, including any references. The quickest way to do that is as follows:
- Download the plugin and if not already archived, zip it.
- In Icenium, in the Project Navigator, expand the Plugins folder and delete the subfolder for your plugin.
- Add the updated custom plugin as per these instructions.
Note that plugin.xml has been updated and the plugin script is declared in a <js-module> element and you do not need to make any <script> references in your code.
We have verified that you can build the updated iOS plugin against Cordova 3.0.0 projects. We have not verified if the plugin functionality works as expected.
For Android, the plugin has not been updated yet and you will need to update the code manually. You might want to check this StackOverflow thread for more guidance. As currently the Android version of the plugin does not provide plugin.xml, you will need to create one yourself. For more information about plugin.xml, see this article.
Big news for mobile app and .NET developers! Hear about it at our Release Keynote. Thursday, September 26th, 11AM EDT
Do you enjoy Icenium? Vote for it in Windows IT Pro Community Choice Awards as Best Cloud Computing Product or Service (Category 5).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.