Cordova Push Plugin: onNotificationGMC is not fired and cannot obtain regID

前端 未结 3 1080
情书的邮戳
情书的邮戳 2021-01-13 06:01

Hello everyone I\'m developing a cordova Hybrid app that requires the Push Notification Service of Android and iOS to work and so I\'ve installed the cordova plugin \"PushPl

3条回答
  •  终归单人心
    2021-01-13 07:02

    FIXED

    I moved the onNotificationGCM in an empty script tag like this:

    
    

    And now it give you the regID :)

提交回复
热议问题