From f4bac33c1ba4eea96459081b1ee3146c2e0af9c9 Mon Sep 17 00:00:00 2001 From: Aleksandar 'Alex' Gotev Date: Sun, 15 Oct 2023 22:11:11 +0200 Subject: [PATCH] feat: support for android API 34 (#647) * feat: support for android API 34. Updated OkHttp to 4.10.0 and commons-net to 3.10.0 * chore: updated readme --- README.md | 2 +- examples/app/.idea/gradle.xml | 2 +- manifest.gradle | 2 +- uploadservice-ftp/build.gradle | 2 +- uploadservice-okhttp/build.gradle | 2 +- uploadservice/build.gradle | 2 +- uploadservice/src/main/AndroidManifest.xml | 4 ++- .../net/gotev/uploadservice/UploadService.kt | 14 +++++++-- .../gotev/uploadservice/data/BroadcastData.kt | 3 +- .../extensions/ContextExtensions.kt | 31 ++++++++++++++----- .../observer/request/BaseRequestObserver.kt | 3 +- .../request/NotificationActionsObserver.kt | 3 +- 12 files changed, 51 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 7f26ccf5..d015fb9d 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ You are also safe if your app is put in the background. All the uploads will con 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. ## Features -* Android 5.0 (API 21) to Android 13 (API 33) support. +* Android 5.0 (API 21) to Android 14 (API 34) support. * *Android 13 Note, for apps targeting API 33 or newer*: * Due to new behavior changes, you are [required to request POST_NOTIFICATIONS permission at runtime in your app](https://developer.android.com/develop/ui/views/notifications/notification-permission) or else the upload progress won't be shown. To see an example, please look at the BaseActivity in the `examples/app` folder. * *Android 12 Note, for apps targeting API 31 or newer*: diff --git a/examples/app/.idea/gradle.xml b/examples/app/.idea/gradle.xml index e784d877..0a6543ae 100644 --- a/examples/app/.idea/gradle.xml +++ b/examples/app/.idea/gradle.xml @@ -8,7 +8,7 @@