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.
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]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With