fix some scheduling references that we broken, one for androis and one for ios
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user