我正在评估cordova-plugin-fcm为Android和iOS发送推送通知。当我们尝试在IOS中使用此插件启动应用程序时,请求获得许可。
我希望我可以将此权限对话延迟到自定义操作而不是启动是否有任何选项类似于cordova-plugin-fcm中的phonegap-plugin-push.init()
方法?
截至今天,2017年6月14日,cordova-plugin-fcm GitHub存储库中有一个针对此功能的pull-request。
https://github.com/fechanique/cordova-plugin-fcm
您可以分叉并构建拉取请求,或者等待作者(可能会,也可能不会)。