I am working with my first iphone app. and now i am working with push notifications. i am using urban airship for push notifications. in developement phase everything was working fine. device tokens were registered and then i could send push notifications from urban airship. but its not working with production phase. i put my app on app store but push notifications didnt work. i tried to search alot on urban airship to solve this problem but couldn’t. I think there is something i have to change when i make binary file for that app. can anyone help me with this? any tutorial which will help me. Its working fine in development phase but not working in production phase. Thanks in advance.
Share
I had the same issue at my company a couple months back.
There are two sets of urbanairship credentials (by credentials I mean: Application Key, Application Secret, Application Master Secret) sandbox and production. When you were developing the product, you were using the development credentials and everything worked great. Those will not work after you release the application to the AppStore due to the way urbanairship works with Apple’s Notification sandbox etc etc.
Track down the production credentials on urbanairship and change them out in your source code before resubmitting and you should be all set. You’ll need to do an adhoc build to verify (I believe). Good luck!
Documentation on Development/Production settings: http://urbanairship.com/docs/push_index.html#development-or-production