TLDR: Is it possible to reschedule notification when notification action button is clicked, without running the flutter app?
I have a flutter app that reminds of things via notifications using awesome_notifications
plugin, and it has a 'remind later' button.
I have written the reschedule logic in app, but the click on notification button has to open the app in order to run the code. I have tried to open the app, reschedule, then close with exit(0)
, but it leaves the app in background - at least on Android, and it is preferable to not exit the app programatially anyways. Is it possible to reschedule notification without running flutter app?