简体   繁体   中英

Get android mobile token for Push notifications

I have a android application which sends to my PHP script the following information: mobile_id, os_version, app_version.

Is it possible to retrieve the android device token from those parameters? I've heard you should connect to google somehow to get it..

But, I couldn't find any information about..

I'm newbie to android applications. any help will be appreciated:)

You need to implement GCM to do so.

Please follow this link for details explanations.

Google Cloud Messaging

Thanks.

GCM is being deprecated. Use FCM instead:

https://firebase.google.com/docs/cloud-messaging/

Same platform as GCM but extended with more features.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM