Open stoconnor opened 7 years ago
You don't have the underlying push notification plugin installed.
Thanks for the quick response. I have "phonegap-plugin-push" installed, is there another plugin I'm missing?
Have you tried the plugin from: https://github.com/Jewelbots/parse-phonegap-plugin-push ? Also the parse-phonegap-plugin-push on that repo
Also keep in mind this doesn't work when you are running it in the web browser or emulating a device. It has to be on the physical device to work.
The other plugin gives me the same error. I'm running on a device and have even tried a signed release version to be sure.
I'll try downgrading cordova to see if it makes a difference
As I am running into the very same problem as you, I was wondering if you've had any luck resolving the issue (downgrading for example). Thank you!
Same here.. anything new ?
Just added my code inside
$ionicPlatform.ready(function() {
});
everything works fine and no error xd
At my wits end with $cordovaPushV5! Keep getting the following error:
ng-cordova.js:6378 Uncaught ReferenceError: PushNotification is not defined(…)
Problem points to the following line: push = PushNotification.init(options);
Using the latest Cordova CLI, ng-cordova. This through testing on the device and below is my code for initializing:
Been at this for hours at this stage, my package.json file:
Have the following in my config.xml also:
I've even tried building a release version and installing it on the device to be 100% but to no avail. Is this an issue with ngCordova as the error suggests?