WARN: Native: tried calling PushNotification.init, but the PushNotification plugin is not installed

0
735

I found the solution putting a setTimeOut in your platform.ready:

sudo ionic cordova plugin add phonegap-plugin-push –variable SENDER_ID=XXXXXX

setTimeout(()=>{
       this.initPushNotification();
       
     }, 1000);

1 weeks founding this error…

LEAVE A REPLY

Please enter your comment!
Please enter your name here