Push notifications work for Ad Hoc, but not when downloaded from the Apple store.
Posted
by MikeQ
on Stack Overflow
See other posts from Stack Overflow
or by MikeQ
Published on 2010-04-10T21:08:17Z
Indexed on
2010/04/10
21:13 UTC
Read the original article
Hit count: 352
My app just got approved for the apple store. I downloaded it an installed it on my iPhone - but it looks like push notifications are broken!
I was successfully testing push notifications in production using an adHoc provisioning profile. I had no problems. The only thing I did differently when I submitted to apple was using an app store distribution profile.
The application never asks me (or anyone else who has downloaded it) if I want to receive push notifications. Consequently, the phone never talks to my server to send the push token (because application:didRegisterForRemoteNotificationsWithDeviceToken: is presumably never called). Also the application does not appear in the settings app under the notification settings.
What could I be doing wrong??
© Stack Overflow or respective owner