How to clear preference iOS push notifications for my application?

后端 未结 7 1840
借酒劲吻你
借酒劲吻你 2020-12-09 23:54

Hello When the application is installed, it asks the user for permission to send push notifications. I\'m testing my application. But after removing it from the device and t

相关标签:
7条回答
  • 2020-12-10 00:23

    Running on iOS 6.0, the "delete and wait 24 hrs" approach did not work for me. Unregistering/re the device token does not work either, which appears to be a bug on Apple's part. The technical note from Apple was last updated on Sept 2011 and appears out of date.

    I was able to trigger the permission alert again only by completely resetting a device. This is quite a pain for testing but it works.

    Sadly there's no way to ask users to do this if they change their minds about receiving push notifications from your app, so make sure you ask for permission at the best possible time.

    0 讨论(0)
提交回复
热议问题