Reference error onnotification is not defined in push notification cordova android

前端 未结 1 1423
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-19 01:04

Using Cordova (ionicframework+angularjs ) Build to use a push notifications requests for Android devices.When doing registration The successHandler() is fire

1条回答
  •  有刺的猬
    2020-12-19 01:12

    onNotification must be have scope in window.

    window.onNotification = function(){
    
    }
    

    0 讨论(0)
提交回复
热议问题