Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Always fail to get registration token with error "Code 7: 'null'" on iOS #242

Open
ventus15 opened this issue Mar 27, 2017 · 2 comments
Open

Comments

@ventus15
Copy link

Error Domain=com.google.iid Code=7 "(null)"

I followed the instructions in https://developers.google.com/cloud-messaging/ios/client to set up an iOS client for GCM, but I keep getting the unknown error message when I try to register for a registration token.

I have exponential backoff to try up to 10 times and each time, there is no change.

Does anyone have an idea of what's going on?

@ogeidix
Copy link
Contributor

ogeidix commented Mar 27, 2017

Could you try the FCM sdk and see if you have the same problem?

@ventus15
Copy link
Author

Adding the APNs cert to Firebase made it work

https://firebase.google.com/docs/cloud-messaging/ios/client#add_firebase_to_your_app

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants