how to register apid in urban airship for android?

守給你的承諾、 提交于 2019-12-05 14:16:55

问题


I have completed client side code by download sample from git for push notification in android. After execute of app i got app-key and apid from server. But when i opening the my account in Urban Airship,i found following data that said my app has not registered any application.

What to do now?Any help will be appreciated


回答1:


Urban airship is on maintenance mode.If u try to get apid from there ,u will not get any response. Another way of push notification in android is use C2DM . Try google C2DM may u get result.




回答2:


According to Uarban Airship, you need to add the Reciever class

android:name=".SampleApplication" 

to your

<application>

in the manifest to get your app to listen for broadcasts.



来源:https://stackoverflow.com/questions/6111847/how-to-register-apid-in-urban-airship-for-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!