AbdulRehmanNazar / BackgroundLocation

BackGround Location using Compose, Foreground Service and permissions
https://abdulrehmannazar.github.io/
Apache License 2.0
7 stars 1 forks source link

The background service stops after 5 minute when device is locked #2

Open Ramkesh9 opened 3 months ago

Ramkesh9 commented 3 months ago

Android version : 12 Phone : Vivo (V2027)

Could you let me know if you have any possible solution for this situation?

AbdulRehmanNazar commented 3 months ago

Here is a solution that I can propose. In case service stops then you can add some kind of broadcast receiver that catches when service stops and start service again, that's it You can make some PRs otherwise I will check it but I can't promise the exact time of this fix

senkeshZaigo commented 3 months ago

I am also facing the same issue. Give any exact solutions

Sankaranarayanan-P commented 2 months ago

https://dontkillmyapp.com/vivo