I'm developing an Android application that needs to remind the user to perform certain tasks, periodically updated. As long as the app is open there are no problems, as I can notify the tasks directly by editing the GUI and activating a sound signal; the problems arise when the app is closed: obviously I cannot launch the app directly because of Android policies (versions 9-13), so the idea would be to show a notification at the exact moment when the task needs to be done (like a Whatsapp message notification). Can I take advantage of the AlarmManager I already use or should I use something else?
Thanks for your attention