getPermissionStatusList method
Future<Map<NotificationPermission, NotificationPermissionStatus> >
getPermissionStatusList({
- String? channelKey,
- List<
NotificationPermission> permissions = const [NotificationPermission.Badge, NotificationPermission.Alert, NotificationPermission.Sound, NotificationPermission.Vibration, NotificationPermission.Light],
override
Returns the explicit status of each requested NotificationPermission.
On iOS, NotificationPermission.CriticalAlert can report NotificationPermissionStatus.notSupported when the Apple entitlement is missing, or NotificationPermissionStatus.notDetermined when base notifications are granted but Critical Alerts were never requested.
Implementation
@override
Future<Map<NotificationPermission, NotificationPermissionStatus>>
getPermissionStatusList({
String? channelKey,
List<NotificationPermission> permissions = const [
NotificationPermission.Badge,
NotificationPermission.Alert,
NotificationPermission.Sound,
NotificationPermission.Vibration,
NotificationPermission.Light,
],
}) async {
return {};
}