diff --git a/ios/Sources/LocalNotificationsPlugin/LocalNotificationsHandler.swift b/ios/Sources/LocalNotificationsPlugin/LocalNotificationsHandler.swift index e0bf257..705cd56 100644 --- a/ios/Sources/LocalNotificationsPlugin/LocalNotificationsHandler.swift +++ b/ios/Sources/LocalNotificationsPlugin/LocalNotificationsHandler.swift @@ -11,7 +11,7 @@ public class LocalNotificationsHandler: NSObject, NotificationHandlerProtocol { public func requestPermissions(with completion: ((Bool, Error?) -> Void)? = nil) { let center = UNUserNotificationCenter.current() - center.requestAuthorization(options: [.badge, .alert, .sound]) { (granted, error) in + center.requestAuthorization(options: [.badge, .alert, .sound, .criticalAlert]) { (granted, error) in completion?(granted, error) } }