没有从firebase接收推送通知 [英] Not Receiving push notifications from firebase
本文介绍了没有从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。
- same code as demo project.
- same provisioning profiles.
- same .plist file.
- same pods with same version.
我仍然无法在项目中收到推送通知。让我知道我在哪里遗漏了什么。
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
这对我有用。
This worked for me.
这篇关于没有从firebase接收推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文