capacitor-plugins
capacitor-plugins copied to clipboard
feat: Alarm plugin
Name
Alarm
Platform(s)
- [x] Android
- [x] iOS
- [ ] Web
Description
Be able to manage Android or iOS alarms from the Capacitor application.
Features:
- Schedule an alarm (custom sound, custom datetime, rrule, label, vibrate)
- Cancel an alarm
- Check scheduled alarms
On Android, we can use the Alarm Manager API.
On iOS, it's more complex because there is no such API. We have to play a background sound (such as Spotify or others) when the alarm is triggered.
There is a Flutter package for that: https://github.com/gdelataillade/alarm
Additional context
Thanks for your awesome plugins !
Before submitting
- [x] I have read and followed the plugin request guidelines.
- [x] I have attached links to possibly related issues and discussions.
Hey, for those interested in the plugin, I have adapted the Flutter code to match Capacitor requirements. The repository is public: https://github.com/Pictalk-speech-made-easy/alarm-plugin.git It's still not hosted in NPM as I hope Capawesome can integrate it to their plugin list.