AlarmManager not working in several devices

后端 未结 14 2063
走了就别回头了
走了就别回头了 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

    We need to enable our app in autostart manager in app manager, some handsets like vivo v5,

    In vivo v5, We can find out this menu in iManager-->App Manager--> Auto Start Manager. Enable our app here.

    Then your alarm/ alarmmanager will trigger alarm if the app is killed or closed.

提交回复
热议问题