首页 文章

cordova推送通知插件抛出错误

提问于
浏览
-1

将PushNotification插件添加到我的cordova项目(即cordova插件添加https://github.com/phonegap-build/PushPlugin.git)时抛出错误 . 我读到插件存在一些问题 . 那么如何使用cordova实现推送通知 . 我发现此链接https://www.npmjs.com/package/cordova-plugin-pushnotification-parsepushnotification但是没有方法可以触发收到的通知 . 如何实现它 .

1 回答

  • 0

    看看Telerik Push Notifications Plugin,它基于Phonegap推送插件 . 你可以找到documentation here.

    编辑

    既然你想使用cordova插件本身,你可以尝试这个解决方法安装相同插件的先前版本,并检查它是否适合你

    为此,您可以导航到此link,下载源,然后通过命令在本地进行istall

    cordova plugin add *Location of the Locally downloaded plugin*
    

相关问题