I'm new to Ionic and building an alarm app.
How do I set an alarm and have it survive reboot?
How does the alarm activate the app to a certain ui state?
I found this, but it has this problem
This looked promising, but I didn't see an alarm function.
These two Cordova plugins looked promising, but they don't support IOS.
What's the best strategy? Thanks!
On iOS there is no way to open your app out of the blue without the user's doing it manually (or calling it from another app). -Unless you are creating a jailbroken app
The closest you can get is to set a Local Notification to pop up at the time that your alarm is supposed to go off. It will trigger a Push-like Notification that should be reboot persistent. Once it popped, if the user decides to tap on it, it will open your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With