My app plays scheduled notifications (I'm using flutter local notification) in the background but when the phone shutdown and opens again later all the bunch of schedules notifications started to play overlapping each other (it annoys user because it plays with custom sound) so I don't want any notification get displayed if the user swipe & kills the app or shutdown & opens again. so I want to clear all my pending notification when the app got killed.
Please let me know if there's any solution available for this.