LEE
LEE

Reputation: 3605

Can we keep same GCM ID even after app resintallation

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

Answers (1)

Pankaj Kumar
Pankaj Kumar

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

Related Questions