未收到来自 firebase 的推送通知 [英] Not Receiving push notifications from firebase

查看:35
本文介绍了未收到来自 firebase 的推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我检查了我的配置文件,一切都很好,因为我在 firebase 提供的演示中使用了配置文件,&我正在接收来自该演示项目的推送通知.问题是在我使用的主要项目中:

I checked my provisioning profiles and all are fine as i used the profiles in a demo provided by firebase, & i am receiving push notifications from that demo project. Issue is In my main project I am using :

  • 与演示项目相同的代码.
  • 相同的配置文件.
  • 相同的 .plist 文件.
  • 具有相同版本的相同 Pod.

我仍然无法在我的项目中接收推送通知.让我知道我遗漏了什么.

Still I am not able to receive push notifications in my project. Let me know where is i am missing something.

推荐答案

当您尝试刷新证书并检查其他内容是否有效时,请再尝试一件事.在您的 info.plist 文件集中

As you have tried refreshing the certificates and checking that other things are valid, try one more thing. In your info.plist file set

FirebaseAppDelegateProxyEnabled = YES

这对我有用.

这篇关于未收到来自 firebase 的推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆