【问题标题】:Firebase FCM notification to received on IOS cordova using the Phonegap Plugin使用 Phonegap 插件在 IOS cordova 上收到 Firebase FCM 通知
【发布时间】:2019-04-16 17:15:16
【问题描述】:

我正在尝试使用 FCM 向 IOS 发送通知,但它似乎不起作用。

我的 Firebase 配置似乎正确:

我已将 APPLE 密钥添加到 FCM 应用以及 GoogleService-Info.plist。

看起来该应用已正确注册:

现在,当我尝试使用 firebase 控制台发送消息时,它显示已完成,但手机上没有显示任何内容。

任何帮助将不胜感激。

【问题讨论】:

    标签: ios firebase firebase-cloud-messaging push


    【解决方案1】:

    您需要在 Xcode 的 Capabilities 中启用“推送通知”才能接收推送通知。

    It will look like something like this in xCODE

    希望对你有帮助!!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-07-06
      • 1970-01-01
      • 2018-12-04
      • 2019-08-17
      • 2021-09-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多