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
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.
I had the same issue.
What helped me: adding APNS for Distribution Certificate to Firebase. Simple as that ;)
What fixed my issue was using the new Authentication Keys method instead of the old p12 files. You can read more in the Firebase documentation, just follow their steps and you should be fine.
Had same issue. Finally got it working by:
Using the correct Project
and Target
Build Settings as mentioned in This link.
And revoking the existing push certificates and creating a new one completely, and then uploading the new certificate's .p12
file to the Firebase Console.