how to register apid in urban airship for android?

2019-04-04 17:20发布

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.enter image description here

What to do now?Any help will be appreciated

2条回答
forever°为你锁心
2楼-- · 2019-04-04 17:21

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.

查看更多
时光不老,我们不散
3楼-- · 2019-04-04 17:35

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.

查看更多
登录 后发表回答