My app uses AlarmManager and it has been working since 4 years ago. But I noticed it started failing in some devices.
I\'m pretty sure code is right (I\'m using Wak
I were looking for an answer and after several hours I found this:
https://stackoverflow.com/a/35220476/3174791
In resume is way to know if your app was killed by 'Protected apps' and this only works on Huawei devices. let me know if there is any solution for other devices (Samsung,Sony,Xiaomi, etc).