We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 723054c commit e9e028eCopy full SHA for e9e028e
1 file changed
ios/NitroNotification.swift
@@ -15,8 +15,6 @@ class NitroNotification: HybridNitroNotificationSpec {
15
return Promise.async {
16
print("[NitroNotification] requestPermissions called")
17
let center = UNUserNotificationCenter.current()
18
- center.delegate = NotificationHub.shared
19
- NotificationHub.shared.setupTokenObserver()
20
print("[NitroNotification] requesting authorization")
21
let granted = try await center.requestAuthorization(options: [.alert, .sound, .badge])
22
print("[NitroNotification] authorization granted: \(granted)")
0 commit comments