I'm using intent/receiver to do some stuff at specified time.
Since I would like it work like an alarm clock that still work if screen is locked, I base my code to that https://www.b4x.com/android/forum/threads/receivers-and-services-in-2023.145370/
on old android like pie and oreo it work fine. On newest if screen is locked it do nothing until I unlock it, once unlocked it fire. I degugged with bridge, but I not found any exception..
So after reading on the forum I disabled battery optimization for my app, but I get the same behavior. I have also an intent-receiver to do stuff at boot, and it work fine everytime an all phones I tested.
Am I missing something?
Since I would like it work like an alarm clock that still work if screen is locked, I base my code to that https://www.b4x.com/android/forum/threads/receivers-and-services-in-2023.145370/
on old android like pie and oreo it work fine. On newest if screen is locked it do nothing until I unlock it, once unlocked it fire. I degugged with bridge, but I not found any exception..
So after reading on the forum I disabled battery optimization for my app, but I get the same behavior. I have also an intent-receiver to do stuff at boot, and it work fine everytime an all phones I tested.
Am I missing something?