Post

Replies

Boosts

Views

Activity

Reply to Question about BGAppRefreshTask approach for medication scheduling app
@DTS Engineer After reading your post on iOS Background Execution Limits it sounds like I can't rely on BGAppRefreshTaskRequest to ensure a scheduled dose window of 2 weeks for my users. That is because "... there are common scenarios where it won’t grant you any background execution time at all!". How does Apple's Medications app ensure this 2 week window along with Local Notifications? Do they have access to an api that I don't to make it possible? I could always create an idempotent function that ensures the user's dosing schedule is generated when the app is loaded. But if the user doesn't open the app for awhile, Local Notifications will be exhausted and the user wont receive any more notifications until the app loads and updates the schedule. Do you understand my concern?
Apr ’25