Ionic push error with dev_push false


#1

It’s working when I do : ionic config set dev_push true

I’m able to get device token but why when I set dev_push to false I got error of

> 8 715050 error TypeError: PushNotification.init is not a function. (In 'PushNotification.init(t._config.pluginConfig)', 'PushNotification.init' is undefined), http://192.168.1.11:8100/lib/ionic-platform-web-client/dist/ionic.io.bundle.min.js3, Line: 3

I followed the official guide setting up full push. how annoying!


#2

Were you able to figure out a solution to this issue? I am running into something similar when I put dev_push to False. Thanks!