openAppNotificationSettings method

  1. @override
Future<bool?> openAppNotificationSettings()
override

Opens the system settings UI where the user can manage notification permissions for the app.

On iOS 15.4 and newer, this attempts to open the app's Notifications settings page. If that's not possible, it falls back to opening the app's Settings page.

Note that iOS may still redirect to the Settings app root depending on the OS version and device configuration.

Returns whether the settings page could be opened.

Implementation

@override
Future<bool?> openAppNotificationSettings() async =>
    await _channel.invokeMethod<bool>('openAppNotificationSettings');