Question

I implemented the Urban Airship library into my application and I can successfully send push notifications to a specific device in development mode. After startup I get the device token and save it into a mysql database. However, when I use the app in ad-hoc mode, the device token is always (null).

APP_STORE_OR_AD_HOC_BUILD is set to YES

and the APP Key and APP-Secret for both production and development are correct.

Any ideas how to get the device token in ad-hoc/appstore mode?


Edit: Identical question has been posted in the Urban Airship Forum.

Was it helpful?

Solution

For me also same thing happened. What we did to solve problem is just recreated new adHoc provisioning profile. Then we got alert asking to install push notification. Its one of the major issue in iOS push notification. We must configure push nofitiation SSL certificate before creating provisioning profile.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top