Do Android GCM registration ids always start with “APA”?

笑着哭i 提交于 2019-12-02 10:55:37

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!