Skip to content

Commit edbc8f3

Browse files
authored
readme: better android 12 explanation
1 parent 7fd16d8 commit edbc8f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ You are also safe if your app is put in the background. All the uploads will con
2929
Bear in mind that if you kill your app, the service gets killed as well, as it's attached to your app's process and all the currently running uploads will be terminated abruptly.
3030

3131
## Features <a name="features"></a>
32-
* 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 (when your app is targeting API 31) due to recent Service limitations
32+
* Android 5.0 (API 21) to Android 12 (API 31) support.
33+
* *Android 12 Note*:
34+
* What's supported: uploads initiated while the app is in foreground, with progress indication notification
35+
* What's NOT supported: uploads started while the app is in the background or uploads without progress indication notification. This is due to the Service limitations imposed by Google, which requires all background services to display a notification to the user. Current architecture cannot support this. For support of those use-cases, WorkManager is the only option.
3336
* 100% Kotlin and fully interoperable with Java
3437
* upload files to a server with `FTP`, `HTTP multipart/form-data` or `Binary` data requests
3538
* upload requests can be serialized and executed later

0 commit comments

Comments
 (0)