R
rblanchard
Guest
I may be incorrect but it appears when you create a new project this cordova-push-notification plug-in is already included in project. If I simply drop a button on a page and add the following javascript alert (localStorage.pushNotificationDeviceID); it will return undefined. My guess is because I did not enable PN under appsettings. If I then enable PN under AppSettings and rebuild project my javascript will return the deviceID. So, as long as I enable Push Notification the localStorage.pushNotificationDeviceID will be populated. Is this the same for the token?
Continue reading...
Continue reading...