Ionic alarm app


#1

Hi,

I want to create an app where users have the possibility to create an alarm.
So the app needs kind of background service which will trigger an alarm at the given time.
I know the local notifications plugin (https://ionicframework.com/docs/v2/native/local-notifications/), but I want a real alarm, maybe with a screen to snooze/stop the alarm.
Any idea if this is possible?


#2

It’s not possible to my knowledge, local notifications are the best you are going to get unfortunately.

For a true alarm you would have to be able to completely launch your app with no user input, and have it show even if the phone is locked. AFAIK, that’s not allowed for security, usability, and battery reasons.


#3

Is this true? Is there no way to make a real alarm?
I searched a while, but there are only really rare infos about that topic.


#4

I didn’t find a solution for Ionic.