diff --git a/ios/Plugin/DailyNotificationPlugin.swift b/ios/Plugin/DailyNotificationPlugin.swift index 5306f5d..7562ec5 100644 --- a/ios/Plugin/DailyNotificationPlugin.swift +++ b/ios/Plugin/DailyNotificationPlugin.swift @@ -1415,8 +1415,8 @@ public class DailyNotificationPlugin: CAPPlugin { guard let userInfo = notification.userInfo, let notificationId = userInfo["notification_id"] as? String, let scheduledTime = userInfo["scheduled_time"] as? Int64 else { - NSLog("DNP-ROLLOVER: ERROR handleNotificationDelivery missing required data userInfo=%@", userInfo ?? "nil") - print("DNP-ROLLOVER: ERROR handleNotificationDelivery missing required data userInfo=\(userInfo ?? [:])") + NSLog("DNP-ROLLOVER: ERROR handleNotificationDelivery missing required data userInfo=%@", notification.userInfo ?? "nil") + print("DNP-ROLLOVER: ERROR handleNotificationDelivery missing required data userInfo=\(notification.userInfo ?? [:])") return }