简体   繁体   English

最新的城市飞艇推送通知不适用于Android

[英]Latest Urban airship push notification not working for android

In my application i used Urban Airship for push Notification, But Urban Airship push notification procedure has changed a bit. 在我的应用程序中,我使用了Urban Airship进行推送通知,但是Urban Airship推送通知程序有所变化。 So I have to modify my code according to the new API.I followed sample app for android from http://urbanairship.com/resources/ . 所以我必须根据新的API修改代码。我遵循了http://urbanairship.com/resources/中的 android示例应用程序。 But this code is not working for me. 但是这段代码对我不起作用。 I tried in different way by sending the notification from . 我通过发送来自的通知以其他方式尝试了。 Actually I am getting AppId null for the app. 实际上,我正在为该应用获取AppId null

Can't understand where is the problem. 无法理解问题出在哪里。 Can anyone give me some idea on implementing this New Urban Airship push notification . 谁能给我一些有关实施“新城市飞艇”推送通知的想法。

Thanks a lot. 非常感谢。

Finally the problem has been resolved. 终于问题解决了。

First of all , II am using the sample app of Urban Airship at : http://com.urbanairship.filereleases.s3.amazonaws.com/ua-android-lib-latest.zip 首先,我正在使用城市飞艇的示例应用程序, 网址为: http : //com.urbanairship.filereleases.s3.amazonaws.com/ua-android-lib-latest.zip

And one more thing , for new API to work , we have to register for 45 days free trail, the link of which you can get when you first create your app at urban airship site. 另外,要使新的API能够正常工作,我们必须注册45天的免费试用,当您在城市飞艇站点首次创建应用程序时,即可获得免费链接。

Hope this may help others too. 希望这也可以帮助其他人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM