Hi
I try use de plugin phonegap-plugin-push, but i get this error
Updated the hooks directory to have execute permissions
Fetching plugin “phonegap-plugin-push” via npm
Error: Variable(s) missing (use: --variable SENDER_ID=value).
Hi
I try use de plugin phonegap-plugin-push, but i get this error
Updated the hooks directory to have execute permissions
Fetching plugin “phonegap-plugin-push” via npm
Error: Variable(s) missing (use: --variable SENDER_ID=value).
Tried to start using Push and following docs resulted in same issue for me… Changed command to include a dummy sender_id, “XXXXXXX”. The docs identify this as the Google app id for android dev.
Where the XXXXXXX in SENDER_ID=“XXXXXXX” maps to the project number in the Google Developer Console. If you are not creating an Android application you can put in anything for this value.
ionic plugin add phonegap-plugin-push --variable SENDER_ID="XXXXXXX"
This command ran successfully. I assume I will need to update w/ the actually id if and when I want to push to a live android device.
You should run:
ionic plugin add https://github.com/rossmartin/PushPlugin.git