I know that it is possible to check whether the user has disabled push settings, as described in Goal c - Detect when the user changes application notification settings .
According to the article above, a push notification is sent even if the user has disabled push notifications for the application. As far as I understand, I should always register for push notifications in applicationDidFinishLaunching:
In most cases, it looks like this, that is, user settings are ignored.
- (void)applicationDidFinishLaunching:(UIApplication *)app {
If an application should consider these parameters, what does the correct implementation look like?
The reason I ask this question is because we have many clients complaining that they receive push notifications, although they have push notifications disabled. This is similar to iOS 6.
Do I, as a developer, have to take care of the case when the user has disabled push notifications? I read the documentation again and again. In particular, the documentation for application:didReceiveRemoteNotification: It does not indicate whether it is called when the user has disabled push notifications.
source share