I am trying to make an alarm fire in my app every 30 minutes using Alarm Manager\'s setExactAndAllowWhileIdle but it is not working!
setExactAndAllowWhileIdle
I test the function
I got the same problem as you, and searches a long time for an solution. But I doesn't find a general solution.
A solution for Samsung devices is available: Android AlarmManager not working on some devices when the app is closed
The first answer works not, but the second one :)