Does UNNotificationRequest have a 64-notification scheduling limit?

Hi,

We have a simple calendar reminder app that uses UNNotificationRequest to schedule local notifications for user events.

I’m wondering whether UNNotificationRequest has a system-imposed limit of 64 upcoming scheduled notifications, similar to the deprecated UILocalNotification.

We’re asking because one of our users is not receiving recently scheduled reminders.

Our current workflow is:

  1. We schedule notifications on app launch and when the app is about to quit.
  2. Before scheduling, we call removeAllPendingNotificationRequests().
  3. We then fetch the 64 nearest upcoming events and schedule them using
    UNUserNotificationCenter.current().add(...).

This approach works fine during our testing, but we’re unsure what might be causing the issue for some users.

Any insights would be appreciated. Thanks!

Answered by Engineer in 870818022

Yes, there is a limit of 64 for how many simultaneous notification requests can be active/pending at one time per app.

This is a system limit and there is no way around it.

Accepted Answer

Yes, there is a limit of 64 for how many simultaneous notification requests can be active/pending at one time per app.

This is a system limit and there is no way around it.

Does UNNotificationRequest have a 64-notification scheduling limit?
 
 
Q