iPad app in production not requesting user consent for push notifications
Our ipad app is not requesting user consent for push notifications -- Without the user's consent we cannot receive the device token of the user. We tested during the sandbox phase and an alert box was displayed. We have also successfully deployed many, many iphone apps into production with the push notification feature. This is first ipad app to allow push notifications. We are almost positive that the release of our most recent ipad app is no开发者_JAVA百科t requesting (via an alert box) consent from the user for push notifications.
I am trying to debug this -- what are possible reasons that this would not work? We need the app to show an alert box during the wake up or launch of the application.
These steps may help:
- Delete the app from the iPad.
- Restart the iPad.
- Do Build/Clean All Targets in Xcode. Then delete the Build/ directory.
- Build the app again to the iPad.
This has worked for me on occasion.
精彩评论