Используйте приложение APKPure
Историческую версию GCM Server Helper можно получить на Android
Легкий способ завершить интеграцию на стороне сервера с Google Cloud сообщений
GCM Server Helper is intended to ease the server-side integration with Google Cloud Messaging (GCM).
Prerequisites:
- Create a project on you android dev console
- Enable the GCM API from the project console
- Generate a key for server applications
Instructions:
1. Enter your project number
2. Hit the register button
3. Send the assigned GCM registration id by email to you server\'s developer workstation
4. On the server side, send an HTTP POST message to https://android.googleapis.com/gcm/send with the following characteristics:
http headers: Content-Type: application/json, Authorization: key=XXXXXX
http body: {
"registration_ids":["YYYYYY"],
"delay_while_idle":true,
"data" :
{ "whatever_field_you_want":"whatever_data_you_want"
}
}
where XXXXXX=your_server_api_key and YYYYYY=your_gcm_registration_id
5. Your mobile should vibrate and either show you a notification or display the received GCM message in the app if opened.
Last updated on 17/02/2016
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Загрузил
Zakir Shaikh
Требуемая версия Android
Android 4.0.3+
Категория
Жаловаться
GCM Server Helper
1.0 by Hantrinsic
17/02/2016