针对Android应用的推送通知服务未在Google Play上发布 [英] Push Notification service for android app not published on google play

查看:830
本文介绍了针对Android应用的推送通知服务未在Google Play上发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个Android应用程序,它不会在google play上发布,只能在我们自己的网站上发布以下载apk。



最近我们想包括谷歌云服务来启用推送通知,我们想知道是否有可能为未发布的应用程序做到这一点?



谢谢



要么使用城市飞艇这样的服务,要么...


  1. 进入开发者控制台并启用Google Cloud Messaging

  2. 下载Google Play服务库。

  3. 使用该库,注册设备。 注册后,您将收到设备特有的令牌。使用该标记向Google的服务器发送Http请求,Google将处理剩余的请求。


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.

这篇关于针对Android应用的推送通知服务未在Google Play上发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆