Post

Replies

Boosts

Views

Activity

Comment on Scheduling local notification after app is terminated from App Switcher by the user manually
For reducing the cost expense for sending push notification using Amazon SNS, we are scheduling local notifications. When i get a single silent notification, i will schedule 64 local notifications like the above code in for loop. But if i send all the 64 notifications as push notification, it will cost more. Hence, I am looking for a way to trigger scheduling location notification even when the app is quit from app switcher.
Sep ’22
Comment on Scheduling local notification after app is terminated from App Switcher by the user manually
I am calling the below code for scheduling local notification whenever i receive a silent push notification.      let request = UNNotificationRequest(identifier: identifier, content: content, trigger: trigger)     let center = UNUserNotificationCenter.current()     center.add(request) { (error : Error?) in I need to call the above set of code even when app is quit from App Switcher.
Sep ’22