Local notifications not working in iOS 11

Viewed 2114

I am using local notifications in my app.

Now that iOS 11 is out there they are not working anymore. I haven't seen anything that could cause this in the release docs, does anyone know what could be causing this?

I know it's deprecated but i see no reason why it shouldn't just work anyway.

Thanks in advance

1 Answers

It seems there is a bug in iOS11. I can see if I schedule more than the 64 allowed notifications it ignores all the notifications I schedule.

The docs state the system keeps the soonest firing 64 notifications and discards the rest. On iOS11 it just discards them all...

So the fix in my case was to make dead-sure not to schedule more than 64 notifications.

Related