Ionic 3“phonegap-plugin-push”SERVICE_NOT_AVAILABLE

时间:2018-04-05 08:58:53

标签: push-notification ionic3 cordova-plugin-fcm

我正在构建ionic3应用程序,我正在使用phonegap-plugin-push接收来自FCM的推送通知,当我在设备上运行应用程序时,它在某些设备上运行良好并且在其他设备上给我错误。 解决这个问题的任何方法? enter image description here

1 个答案:

答案 0 :(得分:0)

你可以使用离子fcm cordova插件https://ionicframework.com/docs/native/fcm/ 它更好,更容易。 push phonegap-plugin-push是一个旧版本,它与GCM(FCM)的新版本不兼容,它比现在已弃用的旧GCM更现代