What is alternate for iOS device token in Android

2019-07-18 02:54发布

问题:

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