开发者

How to register device token in Urban Airship for Push Notification?

开发者 https://www.devze.com 2023-03-22 16:53 出处:网络
I am using Urban airship for sending push notification, and i successfully achieved this. Now i am stuck an issue that before registering device token into urban airship i couldn\'t able to sen开发者_

I am using Urban airship for sending push notification, and i successfully achieved this. Now i am stuck an issue that before registering device token into urban airship i couldn't able to sen开发者_JAVA技巧d broadcast, if i am wrong on this then how can i can send notifications into many devices in which my app is installed without registering their device tokens?


hey You have to register your app as In production, connecting to real push servers. and check out this link http://docs.urbanairship.com/build/push/index.html it may be helpful to you


The broadcast should work in development mode as well.

When you login to "go" do you see your "Device Tokens" listed under your app? The other thing that could be a problem is if you have recently switch your app from development to production - if you try and send device tokens to APNS that are not mis-matched (production device tokens sent to sandbox vice-versa) you'll run in to this issue and likely see some sporadic results.

If you are in dev mode, you could simply delete the existing device tokens then get a few re-registered, then retry a broadcast.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号