Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top