0

I want to test several scenario if user pressed OK when alert push notification showed, and pressed "Don't Allow" if it's showed.

Reading from past discussion, you have to uninstalled for a day to get this push permission showed. But it didn't work for me. Anyone know why and how to trigger back push notification permission ?

HelmiB
  • 12,303
  • 5
  • 41
  • 68

2 Answers2

0

These are the step i used for my past projects:

    1. Go to setting disable anything that connects to whatever push notifications you are working on.
    1. Uninstall program
    1. Change Date time to whatever day (just not the day you have received notification) the further seems to be the better.
    1. If it is still not working. You need to reset your device.
  • I can't install if changing future date. I think Crashlytics do the checking for date & time. – HelmiB Mar 04 '15 at 07:01
0

Settings -> General -> Reset -> Erase All Content and Settings

To make things faster you can create backup in iTunes, right after resetting. Then after each time you saw "Push Permission" alert - use this backup

Silmaril
  • 4,241
  • 20
  • 22