We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8964cb commit 2dc3dfeCopy full SHA for 2dc3dfe
swift-sdk/Internal/InternalIterableAppIntegration.swift
@@ -16,7 +16,7 @@ protocol NotificationStateProviderProtocol {
16
struct SystemNotificationStateProvider: NotificationStateProviderProtocol {
17
func isNotificationsEnabled(withCallback callback: @escaping (Bool) -> Void) {
18
UNUserNotificationCenter.current().getNotificationSettings { setttings in
19
- callback(setttings.authorizationStatus == .authorized)
+ callback(setttings.authorizationStatus != .denied)
20
}
21
22
0 commit comments