Skip to content Skip to sidebar Skip to footer

Do Android Gcm Registration Ids Always Start With "apa"?

In my app I have different devices registered and for the Android ones I am storing the GCM Registration Id and for the iOS I am storing the device token (push notifications). I wa

Solution 1:

In short no.

If you need to distinguish between Android and iOS clients, include a platform identifier (eg: platform: Android) along with the InstanceID token when sending it to your server. This way on your server you can know which clients are on which platform.

You should not depend on the format of the InstanceId tokens to determine device platform.

Post a Comment for "Do Android Gcm Registration Ids Always Start With "apa"?"