Android GCM and multiple tokens

后端 未结 5 1856
失恋的感觉
失恋的感觉 2020-12-03 21:36

I register in GCM with GoogleCloudMessaging.getInstance(context); and save received token on device. Then send it to server and it\'s associated with user account. If I uni

5条回答
  •  一向
    一向 (楼主)
    2020-12-03 21:56

    You can send Android device id along with registration id. Android device id is unique and remains the same during app uninstall reinstall and only changes if device is factory reset.

    Example: How to get unique device hardware id in Android?

提交回复
热议问题