Pergunta

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

Foi útil?

Solução

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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top