Google Firebase Push Notifications for iOS are not working in production environment

后端 未结 4 450
粉色の甜心
粉色の甜心 2020-12-29 04:45

I\'m using Google Firebase Cloud Messaging API (FCM) to send push notifications to my iOS app. I could get push-notifications working successfully when I test the a

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-29 05:01

    I had the same issue. Apparently there is an error in the Firebase documentation. When you exporting the APN certificate for production from your keychain to the .p12 file you have to select the actual certificate, not the private key.

    Make sure you upload to the Firebase console this .p12 file in the Cloud Messaging APN certificate settings.

提交回复
热议问题