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

App getting killed in Android 11 #315

Open
yashnama2 opened this issue Jan 22, 2025 · 0 comments
Open

App getting killed in Android 11 #315

yashnama2 opened this issue Jan 22, 2025 · 0 comments

Comments

@yashnama2
Copy link

i am using Vivo Android 11 device, my app is getting killed in 5 minutes as soon as i removed it from recent apps, and it's not restarting the service on it's own like it should.
In my other devices running android 14, the service is working properly in background and if the service stops due to doze mode, it's restarts automatically on it's own.
But don't know why it's not restarting in android 11 in doze mode. I also disables the battery optimization using FlutterForegroundTask.requestIgnoreBatteryOptimization().

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

1 participant