in my Application I’am currently sending a registration intent to the google server everytime the app starts. I get a different registration ID everytime I do that, though the old ones still work. I guess thats not a good way to do it.
So I thought that I should send the registration intent only once – at the first start of the app. Now my question, if google refreshes the registration ID, do they inform the application about that? Whithout my app sending anything to them?
in my Application I’am currently sending a registration intent to the google server everytime
Share
I have an C2DM and my solution was to register on every start of the application, but when using when sending the C2DM messages through my server delete the entry of the database if the error code was a InvalidRegistration
So if a device was registered multiple times, I only send one invalid message.