Hi,
thanks for the reply.
I am sorry, I used the wrong term. I mean the name of the user, then the Google ID is stored in a list with the names. To send a message I use the name to get the ID.
But the problem remains. What if a user kills his phone out of some reason and the device remains registered but is not actually there any more. With 1500 users that may happen. Then I would send the messages to devices that dont exist anymore. I would like to identify "dead" devices and then remove them from the list.Is it enough to evaluate Googles response to the send request?
Edit: Googles response does not show if the device is still alive. So should I just remove entries that are not updated every x days or hours?