Reputation: 3605
Is there a way to keep a consistent GCM iD even after we re-install our app. as of now its changing if i uninstall the app.
Upvotes: 0
Views: 71
Reputation: 82948
No you can not.
If you are facing problem with identifying the correct device on server, then use device_id as primary id to identify device. Read Is there a unique Android device ID?, how to get device id and store it on server. Now if your registartion id has changed at any time, you have device_id and you can identify your device, and then you should update new registartion id of device.
Upvotes: 1