Recommended approach for scheduling more than 64 local notifications without frequent app launches

Hello,

I'm developing an iOS and iPadOS app that allows users to manage events and tasks. Users may have hundreds of scheduled events and tasks, each requiring one or more local notifications.

While testing UNUserNotificationCenter, I attempted to schedule 500 local notifications with unique identifiers and different future delivery dates.

The results were:

  • All 500 calls to add() completed without errors.
  • Only 64 pending notification requests were retained.
  • The system retained the last 64 requests added, rather than those with the earliest delivery dates.

I understand that I can maintain an internal queue, schedule only the next 64 notifications, and replenish the queue whenever the app runs.

However, users may rarely open the app because they primarily interact with its widgets. Consequently, the notification queue may eventually become empty without an opportunity to replenish it.

I also understand that BGAppRefreshTask execution is not guaranteed.

My questions are:

  1. What is Apple's recommended approach for handling hundreds of local notifications in this scenario?
  2. Is there a supported mechanism to replenish the notification queue as previously scheduled notifications are delivered, without launching the app?
  3. Is replenishing the notification queue during WidgetKit timeline updates a supported and appropriate approach?
  4. Is there a reliable on-device solution, or are server-based remote notifications the only reliable alternative?

I would prefer a solution that works entirely on-device, without requiring a dedicated backend or an internet connection.

Any guidance from Apple engineers would be greatly appreciated.

Thank you!