fix some scheduling references that we broken, one for androis and one for ios

This commit is contained in:
2026-06-22 12:47:26 -06:00
parent d8715340c0
commit ea29219dc2
2 changed files with 58 additions and 2 deletions

View File

@@ -381,11 +381,11 @@ public class DailyNotificationPlugin: CAPPlugin {
}
@objc func scheduleUserNotification(_ call: CAPPluginCall) {
guard let config = call.getObject("config") else {
guard let config = call.options as? [String: Any] else {
call.reject("User notification config required")
return
}
do {
// Delegate to user notification scheduler
try scheduleUserNotification(config: config)