I'm about to test Push notifications in my app. Now it works fine but I also need to test the possibility of the user not accepting push when the system alert is shown. However after first testing the case where the user accepts.
I can delete the app, restart the device and whatnot but the settings seems to remain. When I delete the app it is removed from Notification Center, but right after installing the settings are just as they where before deletion.
I can understand Apples point here in not having this dialogue shown all the time, but seriously; if the user deletes the app and re-installs - thats a manual act and it would not seem like spam if the question got asked again. It did pre-iOS5 anyway.
So:
- Does Notification Center cache these settings?
- If so, for how long?
- And most importantly: can I somehow force test this? (setting device date into the future?)