Gcm Registration Is Not Ready with Auth Credentials in iOS9

GCM Push notification returns the error message GCM registration is not ready with auth credentials....

I was able to test this yesterday successfully in Sandbox mode,
All my configuration was same.
And suddenly (few hours ago) it stopped working.(Also noticed that stackoverflow is full of this issue related questions within couple of hours)
This issues is not related to developer's configuration,
I think it's google backend/api related issues/changes.
In the mean time you could try some other steps,if you've missed some steps.
follow this issue(The operation couldn’t be completed. (com.google.gcm error 501.))
https://github.com/googlesamples/google-services/issues/205

iOS GCM error code 501

The error occurred because I was calling

GCMService.sharedInstance().connectWithHandler() { error in  if(error != nil) {   print(error) } } 

before I had received a registration token, or had failed to refresh my token.

"Error Domain=com.google.gcm Code=501 "(null)" " is a really bad error message.



Related Topics



Leave a reply



Submit