My application uses the push notifications, I am asking the user to register for push notifications at the time of Application launch. Everything works fine if the user taps the ‘allow’ button. But what if the user presses “Dont’ Allow” by mistake ? , I want to pop-up the message again in the device, to ask the user to get registered with the push notifications. How to ask the user again to get registered ?
Share
If the user cancels, or mistakenly presses ‘Don’t Allow’ for the Notification alert, you can easily Alert them later to go into Settings.app and ‘Enable’ Push Notifications for it if thats what they’re trying to do.
Use a storage mechanism to determine if the user has accepted the Alert or not via
application:didRegisterForRemoteNotificationsWithDeviceToken:.. andapplication:didFailToRegisterForRemoteNotificationsWithError.. which you can check for later on and route them to the Settings.app to enable Notifications.Hope this makes sense..