@kevhouck wrote:
I am trying to use Push notifications in an Ionic 2 ts project. I have followed the quick guide in this post to get webpack working:
Now when I try to call Push.init, it does so and then gives this warning message
Native: tried calling Push.init, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
when I use ionic serve. Even when I uncomment the cordova.js script html tags I get this error. I understand that Push notifications haven't been tested in Ionic 2 but I think this is related to something else since the error is about cordova. How can I get ionic-native to see cordova?
Posts: 1
Participants: 1