why do gcm docs recommend invalidating registration on app update?

前端 未结 2 1075
渐次进展
渐次进展 2021-02-14 15:24

From the GCM docs:

When an application is updated, it should invalidate its existing registration ID, as it is not guaranteed to work with the new versi

2条回答
  •  鱼传尺愫
    2021-02-14 16:30

    I would use the Version Code to detect the app update. The Version Code is forced to change every time you submit a new version to the Google Play store, hence you can rely on it to detect the app's version.

提交回复
热议问题