Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android c2dm registration ID

I read in the explanation in Android Cloud to Device Messaging Framework. After our app register successfully to C2DM server, we receive a registration ID. The registration ID lasts until the application explicitly unregisters itself, or until Google refreshes the registration ID for your application. When is exactly Google refreshes the registration ID for your application?? How do we know it so we can register again and send our new registration ID to our server.

Thank you.

like image 493
user430926 Avatar asked Nov 24 '10 10:11

user430926


1 Answers

According to discussions on the android-c2dm mailing list, refreshing the registration ID is not a frequent event, but your application should be able to handle it. The OS will fire the registration Intent again with the new registration ID.

See the following threads on Google Groups: [1] [2] [3]

like image 105
gnuf Avatar answered Oct 13 '22 09:10

gnuf