diff --git a/ios/Capacitor/Capacitor/CAPUNUserNotificationCenterDelegate.swift b/ios/Capacitor/Capacitor/CAPUNUserNotificationCenterDelegate.swift index 2a1b732a0c..ed07c0a0eb 100644 --- a/ios/Capacitor/Capacitor/CAPUNUserNotificationCenterDelegate.swift +++ b/ios/Capacitor/Capacitor/CAPUNUserNotificationCenterDelegate.swift @@ -10,7 +10,9 @@ public class CAPUNUserNotificationCenterDelegate : NSObject, UNUserNotificationC public override init(){ super.init() let center = UNUserNotificationCenter.current() - center.delegate = self + if center.delegate == nil { + center.delegate = self + } } public func setBridge(bridge: CAPBridge) {