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

我在
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

点赞