0

I am working on a Flutter Application that requires to send scheduled notifications.

I was able to create the notification but can't find any documentation on how to update the time and date passed to the scheduled notification?

A solution I thought of was cancelling the notification by searching for it with it's ID but then when I create a new notification with a new ID how do I make sure that ID is not the same as another notification that was scheduled?

For example:

notif1 has id = 12

notif2 has id = 13

now if notif1 is cancelled and a new notification is created with id = 13 wouldn't it overwrite notif2

How do I solve this?

Thanks in advance

0 Answers0