While attempting to develop my app on Phonegap using a plugin, I encountered an error specific to Android:
"Error - Some official plugins must be updated when utilizing PhoneGap >= 4.0.0. It is necessary to upgrade the version of any plugins that may contain the file: LocalNotification.java".
In response, I modified the source for the plugin from:
<plugin name="de.appplant.cordova.plugin.local-notification" source="pgb"/>
to:
<plugin name="de.appplant.cordova.plugin.local-notification" source="npm" />
This change led to an error during the IOS build process stating:
"Error - The specified plugin, its version, or a dependency of this plugin is not present on npm: de.appplant.cordova.plugin.local-notification"
As a result, by selecting one source, I am able to build for Android but not for IOS, whereas choosing the other source allows me to build for IOS but not for Android. Additionally, if I do not specify a version, the latest one should be used, which adds to the confusion caused by the initial error message.
What steps should I take next?