iOS 12 includes support for notification configuration settings within the application. In order to support this the developer should specify a callback for the openSettingsForNotification variable and specify that their app includes notification settings in the APNS registration call. The Sample app includes examples of how to do this.

Applications should respond to request for app settings:

MCESdk.sharedInstance.openSettingsForNotification = ^(UNNotification *notification) {


Applications should inform APNS on Registration that they support notification settings:
NSUInteger options = UNAuthorizationOptionAlert|UNAuthorizationOptionSound|UNAuthorizationOptionBadge|UNAuthorizationOptionCarPlay|UNAuthorizationOptionProvidesAppNotificationSettings;
[center requestAuthorizationWithOptions: options completionHandler:^(BOOL granted, NSError * _Nullable error) {

Join The Discussion

Your email address will not be published. Required fields are marked *