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 freezes with screen off even with battery optimization off on OxygenOS 15 #312

Open
luisfrossi opened this issue Dec 19, 2024 · 0 comments

Comments

@luisfrossi
Copy link

Hello, I have been using flutter_foreground_task with a lot of success on my app for a while now. Recently I updated my phone (OnePlus) to Android 15 (OxygenOS 15) and the app stopped to run with the screen off. Looking at the permissions I could find a permission in the battery permissions named Allow background activity. When I activate that permission, the app keeps running with the screen off. Any sugestions on how to handle that and why the other option is not working anymore. Any way to request this permission for the user from the APP?

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