I have a custom app, imagine something like: playing a video for 24h in a loop, but after 4 to 5 hours the app close down and stucks in the background.It works only if i press to start again.
The device i have the problem with is an Oppo a79 5g with android 14.
I have implementented solutions like alarmManager,foreground service with a notification and battery optimization but nothing works.
In other devices I dont have this problem.
Thank you in advance.