iOS used the device token which is unique and so used for push notification. What is the alternate solution in Android. Can any one help me.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
For Push notification in android we have GCM(Google Cloud Messaging). please follow below link for more information
https://developer.android.com/google/gcm/demo.html
回答2:
If you are asking for unique id of device, then have a look here How to find serial number of Android device?
Or if you need something like push_token
, then there is registration_id
in both C2DM and GCM