AlarmManager not working in several devices

后端 未结 14 2059
走了就别回头了
走了就别回头了 2020-11-30 18:34

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

14条回答
  •  借酒劲吻你
    2020-11-30 19:00

    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).

提交回复
热议问题