I am creating an application that uses c2dm.
I think I should ask for a registration identifier when my “main intention” of my application starts. I do this, but it seems that every request leads to a new line, so I end up accumulating numerous registration identifiers in my database for the same device. I believe that only one of them will work. However, I don’t want to just delete the old ones, because I want my user to be able to receive notifications on several devices if they own more than one.
How should I do it?
source
share