After successfully creating a Cordova alarm clock app with a timer, I am now looking to add a visual and audio alarm notification for when the alarm goes off. However, I have encountered a problem as the current plugin I used for local notifications (https://github.com/katzer/cordova-plugin-local-notifications) does not seem to work when the phone screen is off.
Do you have any suggestions on how to improve this functionality? I have been thinking of integrating something similar to AlarmManager in Android, but I haven't come across a suitable Cordova plugin yet.