简体   繁体   English

使用Phonegap插件在IOS Cordova上收到Firebase FCM通知

[英]Firebase FCM notification to received on IOS cordova using the Phonegap Plugin

I am trying to send a notification to IOS using FCM it does not seem to work. 我正在尝试使用FCM向IOS发送通知,它似乎不起作用。

My Firebase configuration seems correct: 我的Firebase配置似乎正确:

在此处输入图片说明

在此处输入图片说明

I have added the APPLE Key to the FCM app as well as the GoogleService-Info.plist. 我已将APPLE密钥添加到FCM应用程序以及GoogleService-Info.plist。

It looks like the app is correctly registered: 该应用似乎已正确注册:

在此处输入图片说明

Now when I try to send a messaging using the firebase console it says done but nothing appears on the mobile. 现在,当我尝试使用Firebase控制台发送消息时,消息说已完成,但在移动设备上什么也没显示。

Any help would really be appreciated. 任何帮助将不胜感激。

You need to enable "Push Notifications" in the Capabilities in Xcode to receive push notifications. 您需要在Xcode的功能中启用“推送通知”才能接收推送通知。

It will look like something like this in xCODE 在xCODE中看起来像这样

I hope this helps!! 我希望这有帮助!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM