Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foreground Service stops after 5 minutes. #488

Open
yash-segnotech opened this issue Oct 19, 2024 · 3 comments
Open

Foreground Service stops after 5 minutes. #488

yash-segnotech opened this issue Oct 19, 2024 · 3 comments

Comments

@yash-segnotech
Copy link

Foreground service stops after around 5 minutes if the screen is locked and charger not connected.
i have tried disabling battery optimization for the app but it didn't help.

@BIBS23
Copy link

BIBS23 commented Nov 4, 2024

bro i have also same issue did you problem gets solved

@yash-segnotech
Copy link
Author

bro i have also same issue did you problem gets solved
i have used another package named flutter_foreground_task. it works continuously in background without interruption, and if stops it will auto start the service again.

@carlosbatistadev
Copy link

Aqui do mesmo jeito... Não sei se é 5 minutos exatamente mas ele para e é no Android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants