Google Android Error GCM NotRegistered

I use the Android GCM Push service, it works fine for some time, but it fails between them.

Here are the details. If I leave my Idle application for a while, then suddenly the server receives a response as NotRegistered from Google GCM, strange.

When viewing the document, it says that sometimes the Google server can automatically update the registration identifier, so this means that I need to update my servers whenever Google tells me. OK, I can do it.

Now, secondly, is there any other chance when I can get the NotRegistered error from the Google GCM server?

Also there is a setRegisteredOnServer method in the documentation? So do I also need to call this method with a flag as true?

You really donโ€™t know what the problem is? Has anyone encountered the same problem before?

Anyone help me here?

+4
source share
1 answer

It is resolved. In fact, the Reg identifier automatically changes, and we did not update it on the server when changing.

+5
source

All Articles