Vidyabaskar
Vidyabaskar

Reputation: 41

<FIRMessaging/WARNING> Failed to subscribe to topic Error Domain=com.google.fcm Code=5 “(null)”

I'm not able to receive notifications in iOS. I coded my application in ionic framework and apparently Firebase doesn't officially support ionic. Any ideas on how to resolve the issue.

Here what I've done already:

  1. The certificates have been created in apple dev account.

  2. APNS key has been uploaded to the firebase console.

  3. Ive included the Google-Service-Info.plist to my project folder.

Im asked for permission for notification when the app opens up but my test notification is not getting received by the app.

The error message is :

Failed to subscribe to topic Error Domain=com.google.fcm Code=5 “(null)”

Xcode version: 9.4.1

iOS target development version: 9.0

iOS testing version: 11.4

Upvotes: 4

Views: 2446

Answers (1)

Fuat
Fuat

Reputation: 809

Search all of the "Google-Service-Info.plist"files in your project folders. You will see an old or default verison of "Google-Service-Info.plist". Then replace the old one with your own. This is my problem in my project.

Second probability is you are putting the plist file in wrong folder. check it pls.

Upvotes: 1

Related Questions