Question

Does android GCM registationid changes? As I understood, It's not permanent. When internet connection is on it's send an onRegister signal. But what about when there is no internet connection?

Était-ce utile?

La solution

The registration ID can change at any time which is why you need to implement GCMBaseIntentService and override onRegistered so that anytime a new registration ID is sent to you, you can get it.

If there is no internet then obviously you wont be able to get the new ID

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top