You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Realme 2 when app is closed the alarm manager does not work even when app is set to auto start and escape from power saver mode manually but still alarm does not work
The text was updated successfully, but these errors were encountered:
Hi. You can just change setRepeating() in MainActivity class to setExactAndAllowWhileIdle() and it will work fine for API levels higher than 23. You should also change your minSdkVersion in build.gradle to 23. I'm currently working on an update to this project and i will release it soon. Tell me if it works on your device.
i have tried using setExactAndAllowWhileIdle() as i want to make alarm for once only but it didn't work when app is closed in realme 2 but it is working in redmi note 5 pro without turning auto start on and without battery optimization and in one plus 6t it is working by turning off the battery optimization off.
In Realme 2 when app is closed the alarm manager does not work even when app is set to auto start and escape from power saver mode manually but still alarm does not work
The text was updated successfully, but these errors were encountered: