The alarm is not working when the app is not in use.
tried running for 600 milliseconds the changes are only shown when the app is in use
Code
The alarm is not working when the app is not in use.
tried running for 600 milliseconds the changes are only shown when the app is in use
Code
My doubt has not been solved…
You need to use work manager for this because alarms doesn’t work in most device because Chinese ORM’s kills your app in the background.
For the alarm manager implementation you need to follow this https://github.com/yuriykulikov/AlarmClock
Okay! Work manager is covered in Jetpack Components section. I’ll try to do this after that section. Thanks