Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top