Not Receiving push notifications from firebase

2019-01-19 23:43发布

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 :

  • 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.

2条回答
戒情不戒烟
2楼-- · 2019-01-19 23:59

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. Image

查看更多
我想做一个坏孩纸
3楼-- · 2019-01-20 00:22

1-Make sure bundle id is the same

2-Changed the .p12 certificate in firebase

3-Downloaded google-plist in project

查看更多
登录 后发表回答