androidiosreact-nativemobileexpo

Do scheduled notifications survive the reintallation of the mobile app?


I'm making a calendar app in react native with expo. I was thinking about using Notifications.scheduleNotification to pop up a notification when the time of the events in the calendar come.

When the user resets the phone, at least in android, the notifications survive, and they receive the previously scheduled notification anyway. This prevents me from needing to put a BackgroundFetch to reschedule possibly lost notifications. Instead, I schedule them when creating the event.

But I thought: What about reinstalling? Will I lose the scheduled notifications on reinstall?

What's the case in android? And in iOS?


Solution