php - What are the cases where a registration ID of GCM changes? -


i developing web push notification system using google cloud messaging (only web). using gcm registration id send push notification in android device.

can tell me if there cases or scenarios gcm registration id changed device?

fyi, share current knowledge:

  1. the gcm registration id changed if application updated or re-installed.
  2. if device os updated.

my system design follows:

first, register registration id of device in database ? (this 1 time client access site , able registration id , save it).

then, send notification after month or later (it depends, maybe after 3 months).

here questions:

  1. if device os updated in during duration, device id change?
  2. if chrome browser updated or reinstalled, device registration id change?
  3. if registration id change (because of 1 of reasons above), how can send push notification desired device?

appreciate help. in advance.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - IE9 error '$'is not defined -