New app using Ionic cloud services for Push, Package, and Deploy. On android, when running the app, I get this console log message:
PushNotification plugin is required
However, I had previously installed the plugin as per the documentation:
cordova plugin add phonegap-plugin-push --variable SENDER_ID=xxxxxxxxxxx --save
to be sure, I even tried using ionic command instead (tried with and without the --save):
ionic plugin add phonegap-plugin-push --variable SENDER_ID=xxxxxxxxxxx
I’m using this command to package:
ionic package build android --profile abapi_dev
config.xml has the relevant entry:
<plugin name="phonegap-plugin-push" spec="~1.9.0"> <variable name="SENDER_ID" value="xxxxxxxxxxx"/> </plugin>
I’ve also tried ionic state save command, but still the apk built by the Package service does not appear to have the push plugin installed.
Opening up the .apk file, the assets/www/plugins folder does not have anything that looks like the push plugin.
Any suggestions for how to ensure it gets the plugin?
Is there a way to view the debug build logs from the Package service?