【发布时间】:2019-04-17 12:29:34
【问题描述】:
我正在使用 Cordova 为 iOS ed Android 制作应用程序。 我已经安装了这个插件:phonegap-plugin-push 并且可以在 Android 上运行。 所以关于 iOS,我已经将 Firebase 项目中的 che 证书安装到控制台中。 事实上,当我尝试运行测试通知时,我看到了这个:
关联的 17 个应用用户是我对令牌通信所做的测试。 该证书是从苹果开发者控制台创建的 .p8 证书,我认为我所做的是正确的,因为我们可以在 firebase 控制台上看到设备注册:
该项目也有豆荚:
Analyzing dependencies
Downloading dependencies
Using FirebaseAnalytics (4.2.0)
Using FirebaseCore (4.0.20)
Using FirebaseInstanceID (2.0.10)
Using FirebaseMessaging (2.0.8)
Using GoogleToolboxForMac (2.1.4)
Using Protobuf (3.6.1)
Using nanopb (0.3.901)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 7 total pods installed.
关于 Xcode 功能:
所以问题是,为什么在 iOS 上通知不起作用?有什么建议?为什么没有触发设备? 我使用 Visual Studio Code,项目在 Apache Cordova 上。
【问题讨论】:
标签: ios firebase cordova firebase-cloud-messaging cordova-plugin-fcm