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

有帮助吗?

解决方案

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.
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top