来自 UrbanAirship 的推送通知不适用于 Android 中的实时服务器(即使用生产密钥)

发布于 2024-12-13 19:02:25 字数 435 浏览 3 评论 0原文

在我的一个 Android 应用程序中,我正在使用来自 Urban Airship 的推送通知。

该应用程序的问题是,当我使用推送通知的开发密钥时,它的工作完美(该应用程序已注册& ; APID已生成)但是当我使用生产密钥时,它根本不起作用(未生成APID)。

但是,我已正确配置应用程序的生产密钥(如在airshipconfig.properties中, 1) 设置生产密钥的密钥 2)使inProduction = true。

仍然不起作用。

我收到错误:

应用程序名称- UAlib 停止连接。 都会处于保持模式。

在 logcat 上,每次我尝试将其与实时服务器(生产密钥)连接时,

对此的任何想法或帮助将受到高度赞赏。

In one of my android app, I am using push Notification from Urban Airship.

The problem with the app is that when I am using the development key for the push notification its working perfect (The app get registered & APID generated) but when I am using the production key , It does not work at all(The APID not generated).

However, I have configured the app for production key properly (Like in airshipconfig.properties,
1) set key for production key
2) making inProduction = true.

Still its not working .

I am getting the error :

App name- UAlib Stop connnecting . In a holding pattern.

on logcat, everytime I am trying to connect it with the live server (production key).

Any idea or help on this will be highly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

雪落纷纷 2024-12-20 19:02:25

我认为您的城市飞艇推送通知的免费试用期(因为您正在使用氦气运输)已经结束。
所以你有两个选择:
1)要么你从城市飞艇采取一些付费计划
2)或者选择c2dm运输。

c2dm传输不需要有任何计划。

希望这会对您有所帮助。

I think your free trail period(as you are using the helium transport) for the push notification from Urban airship have been finished.
So you have two options:
1) Either you take some paid plan from urban airship
2) Or go for c2dm transport.

The c2dm transport does not need to have any plan.

Hope this will help you.

小…红帽 2024-12-20 19:02:25

根据我的用户获取经验,这很可能是一个严重的问题。验证是否正确填写了生产密钥的所有必填字段。如果问题仍然存在,请使用正确的应用程序凭据在 UA 站点上创建一个测试“应用程序”,以验证这不是凭据问题。除此之外,联系 UA 并让他们更好地解决问题。

要使应用程序在 Android 上正常运行,网站上的必填字段是“Android 包”和“C2DM 授权令牌”,另外请务必勾选“推送通知支持”。

In my UA experience this most likely is a sever side problem. Verify that all of the required fields are correctly filled out for the production key. If the problem persists create a test 'Application' on the UA site with the correct application credentials to verify it is NOT a credentials problem. Other than that contact UA and have them better troubleshoot the issue.

The required fields on the site for the application to function correctly on Android is the 'Android Package' and 'C2DM Authorization Token', plus make sure to tick 'Push Notifications Support'.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文