@mungbeans Thank you for the quick reply.
To reduce cost on Amazon SNS, in one silent notification, i will be scheduling 64 local notifications.
Do you have any idea about how can i schedule local notification even after user quit app from App Switcher?
Please advise, Thank you.
Post
Replies
Boosts
Views
Activity
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.
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.
Ok, Thank you for the clarifications.