开发者

iPad app in production not requesting user consent for push notifications

开发者 https://www.devze.com 2023-03-20 05:10 出处:网络
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 wa

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:

  1. Delete the app from the iPad.
  2. Restart the iPad.
  3. Do Build/Clean All Targets in Xcode. Then delete the Build/ directory.
  4. Build the app again to the iPad.

This has worked for me on occasion.

0

精彩评论

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