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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶[Android production does not work on all phones] #552

Open
3 tasks done
JenteJan opened this issue Apr 25, 2024 · 0 comments
Open
3 tasks done

馃悶[Android production does not work on all phones] #552

JenteJan opened this issue Apr 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JenteJan
Copy link

  • I have read the README
  • I have done the setup for Android
  • I have done the setup for iOS
  • [Not applicable] I have ran the sample app and it does not work there

Version

Technology Version
Workmanager version workmanager:
git:  
  url: https://github.com/absar/flutter_workmanager.git
  ref: 73cc539cd2f1b992b468e6c44f5d0a7919d7ffda   |

Describe the error
Describe error
I have implemented the newest version where ios runs immediately after going to bg. All works well on production ios, emulated ios and emulated android, but in production upwards of 80% of android users have a problem where the code does not appear to be running in the bg. I'm fairly certain there are no bugs that could be causing the background code to fail as they only occur on these production android devices. Im wondering if there is any AndroidManifest set up required not currently listed in the android set-up readme. Things I am doing in the background are: running native code, accesing the filesystem and fetching from internet. I am currently wondering if it has something to do with the newest version of android having more restrictions related to background running. I saw the docs for flutter background service at: https://pub.dev/packages/flutter_background_service
which says to do additional set up for android 14+ where you request specific permissions for what bg service you make use of.

Output of flutter doctor -v

also not applicable as any example where i am in a testing environment does not produce the issue

@JenteJan JenteJan added the bug Something isn't working label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant