Push Notification service for android app not published on google play

被刻印的时光 ゝ 提交于 2019-12-23 04:18:08

问题


We have an Android app, which is not published on google play, only released on our own website to download the apk.

Recently we want to include google cloud service to enable push notification, and we are wondering if it is possible to do that for unpublished app?

Thanks


回答1:


It is very possible.

Either use a service such as Urban Airship or...

  1. Go into your developer's console and enable Google Cloud Messaging
  2. Download the Google Play Services library.
  3. Using the library, register the device.
  4. After registration, you will receive a token unique to the device. Use that token to send an Http request to google's servers and google will handle the rest.


来源:https://stackoverflow.com/questions/23258798/push-notification-service-for-android-app-not-published-on-google-play

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