Post

Replies

Boosts

Views

Activity

UserNotifications Framework not able to stop notification reminder on current day while rescheduling for next day with UNCalendarNotificationTrigger using hour & minute date components
What we required, to remind the task daily in the application, have the notification(s) repeat daily at the same time using hour, minutes components with UNCalendarNotificationTrigger, and once the task is done by the user the repeat notification for the current day should be stopped and notification(s) on next day must be repeated as expected on an hourly interval. We used UNCalendarNotificationTrigger as following statements, let fireDate = Calendar.current.dateComponents([.hour, .minute], from: trigger_date) let trigger = UNCalendarNotificationTrigger(dateMatching: fireDate, repeats: true) Note: Above scenario is working with deprecated UILocalNotification framework but not working UserNotifications framework. Your help/comment will be appreciable.
0
0
544
Jan ’22
Callback in iOS application with UNNotificationRequest
Is there any way to get a call back in iOS application with UNNotificationRequest, in offline mode, even if the app is in background or not running state?
Replies
0
Boosts
0
Views
518
Activity
Feb ’22
UserNotifications Framework not able to stop notification reminder on current day while rescheduling for next day with UNCalendarNotificationTrigger using hour & minute date components
What we required, to remind the task daily in the application, have the notification(s) repeat daily at the same time using hour, minutes components with UNCalendarNotificationTrigger, and once the task is done by the user the repeat notification for the current day should be stopped and notification(s) on next day must be repeated as expected on an hourly interval. We used UNCalendarNotificationTrigger as following statements, let fireDate = Calendar.current.dateComponents([.hour, .minute], from: trigger_date) let trigger = UNCalendarNotificationTrigger(dateMatching: fireDate, repeats: true) Note: Above scenario is working with deprecated UILocalNotification framework but not working UserNotifications framework. Your help/comment will be appreciable.
Replies
0
Boosts
0
Views
544
Activity
Jan ’22