@Marrone wrote:
I know, there are lots of post about phonegap-plugin-push problems with SENDER_ID missing problem.
I followed the guide that indicate how to solve this problem so I installed the pluging like this:
cordova plugin add phonegap-plugin-push --variable SENDER_ID="MY_GOOGLE_PROJ_NUMBER"
and even with
ionic plugin add phonegap-plugin-push --variable SENDER_ID="MY_GOOGLE_PROJ_NUMBER"
Now my local builds works with both options, but the problem of missing SENDER_ID is still there when I try to build from ionic service:
ionic package build android
then I got this error
Error: Variable(s) missing (use: --variable SENDER_ID=value).
here my package.json
"cordovaPlugins": [ "cordova-plugin-device", "cordova-plugin-splashscreen", "cordova-plugin-statusbar", "cordova-plugin-apprate", "cordova-plugin-file-transfer", "https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git", "cordova-plugin-whitelist", "cordova-plugin-camera", { "variables": { "SENDER_ID": "MY_GOOGLE_PROJ_NUMBER" }, "locator": "phonegap-plugin-push" }, { "locator": "https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git", "id": "cordova-plugin-x-socialsharing" }, "ionic-plugin-keyboard", "phonegap-plugin-push" ],
and my settings.xml
<plugin name="phonegap-plugin-push" spec="1.7.4"> <variable name="SENDER_ID" value="MY_GOOGLE_PROJ_NUMBER"/> </plugin>
Anyone solved this problem With Ionic Platform Service?
Posts: 1
Participants: 1