当应用程序在后台(Titanium)时,Android 5上的推送通知未送达 – 但它确实在前台

当应用程序在后台(Titanium)时,Android 5上的推送通知未送达 – 但它确实在前台,第1张

概述我在 Android上使用Urban Airship接收通知. Appcelerator模块IS QUITE OLD(3年前) https://github.com/appcelerator-modules/ti.urbanairship,我正在使用这个分支: https://github.com/rdking/ti.urbanairship/tree/master/android. 使用rdki 我在 Android上使用Urban Airship接收通知. Appcelerator模块IS QUITE olD(3年前) https://github.com/appcelerator-modules/ti.urbanairship,我正在使用这个分支: https://github.com/rdking/ti.urbanairship/tree/master/android.

使用rdking版本,我可以在AndroID 5上收到通知,但仅在应用程序打开时(前台).如果我打开另一个应用程序或关闭它(把它放在背景上),它将无法获得它.

我正在使用Titanium SDK 5.1.2.GA(应用程序和模块),使用NDK r10e构建模块

平台/ androID-13和附加组件/ addon-Google_APIs-Google-13

(不确定我应该使用哪个版本以及它是否有问题.)

我想我可能缺少AndroID Manifest上的一些配置.
通知在AndroID上完美运行< 4和iOS. 在此先感谢=)

解决方法 更新:Urban Airship现提供 titanium module 总结

以上是内存溢出为你收集整理的当应用程序在后台(Titanium)时,Android 5上的推送通知未送达 – 但它确实在前台全部内容,希望文章能够帮你解决当应用程序在后台(Titanium)时,Android 5上的推送通知未送达 – 但它确实在前台所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://www.outofmemory.cn/web/1125760.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存