@MrWeiland wrote:
Im trying to start using ionic package but i always get error sender_ID i missing:
ionic package build ios --profile myprofile
Your app has been successfully submitted to Ionic Package!
Then build fails
output:
Fetching plugin "phonegap-plugin-push" via npm
Error: Variable(s) missing (use: --variable SENDER_ID=value).In my package.json i got
"cordovaPlugins": [
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"cordova-plugin-inappbrowser",
"cordova-plugin-geolocation",
"cordova-plugin-camera",
"cordova-plugin-file",
"cordova-plugin-file-transfer",
"cordova-plugin-dialogs",
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-network-information",
{
"variables": {
"SENDER_ID": "5850XXX"
},
"locator": "phonegap-plugin-push"
}
],I also specified my SENDER ID in config.xml
<plugin name="phonegap-plugin-push" spec="*"> <variable name="SENDER_ID" value="58506XXX"/> </plugin>
But nothing works - any ideas how to fix this?
Plugin - https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md
Posts: 1
Participants: 1