Closed ghost closed 6 years ago
@mad2kx I'm closing this as filling out the issue template and only putting in "to work/not working" is not very helpful.
However, a couple of things I see is that you are using in inline script so make sure your content security policy allows in-line scripts. Also, you are trying to call PushNotification.init
long before you get the deviceready
event.
@macdonst I am batteling to have push notifications implemented into my app for a week now and I cannot seem to find a step-by-step tutorial which shows me where to add which code in the html files and js script
This thread has been automatically locked.
Expected Behaviour
to work
Actual Behaviour
not working
Reproduce Scenario (including but not limited to)
my index.html looks as follows:
my config.xml
Steps to Reproduce
I ran
cordova plugin add phonegap-plugin-push
followed bycordova plugin add phonegap-plugin-push --variable SENDER_ID="MYIDXXXXXX"
and manually added(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Testing it on several devices
Cordova CLI version and cordova platform version
Plugin version
phonegap-plugin-push 2.1.2 "PushPlugin"