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

Misleading Android 12 documentation #620

Closed
thomasttvo opened this issue Aug 18, 2022 · 4 comments
Closed

Misleading Android 12 documentation #620

thomasttvo opened this issue Aug 18, 2022 · 4 comments
Labels
wontfix Something which is not going to happen. Ever.

Comments

@thomasttvo
Copy link

thomasttvo commented Aug 18, 2022

Android 5.0 (API 21) to Android 12 (API 31) support. Beware you cannot start uploads while your app is the background on Android 12 due to recent Service limitations

This part of the doc is misleading. The library does work when started from the background on Android 12 unless the main app or the library that imports it specifically sets targetSdkVersion to 31 and up.

Would also be great to add suggestions to work around the issue should the targetSdkVersion is 31+

@gotev
Copy link
Owner

gotev commented Aug 19, 2022

Hi @thomasttvo and thanks for the feedback!

The library does work when started from the background on Android 12 unless the main app or the library that imports it specifically sets targetSdkVersion to 31 and up.

That's true, I added an explanation.

Would also be great to add suggestions to work around the issue should the targetSdkVersion is 31+

The only option going forward is to migrate to WorkManager: #610

@AlkanV
Copy link

AlkanV commented Sep 2, 2022

hello @gotev do you plan any support for android 12 ( targetSdk 31+) for background services,

best,

alkan.

@gotev
Copy link
Owner

gotev commented Sep 2, 2022

@AlkanV added a note which better explain Android 12 support status: https://github.com/gotev/android-upload-service/blob/master/README.md#features-

@stale
Copy link

stale bot commented Nov 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Something which is not going to happen. Ever. label Nov 12, 2022
@gotev gotev closed this as completed Nov 15, 2022
Repository owner locked and limited conversation to collaborators Nov 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix Something which is not going to happen. Ever.
Projects
None yet
Development

No branches or pull requests

3 participants