I followed the following setup. If dev_push is false, I keep getting the below error. If dev_push is true, there is no error. Is this a bug in the Beta or what?
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.js, Line: 3
ionic config set dev_push false
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
var push = new Ionic.Push({
“debug”: true
});
push.register(function(token) {
console.log("Device token:",token.token);
});
});
})