From ff2f3992b7ecddb804a96322789bd35010529f43 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Mon, 28 Nov 2022 17:09:33 -0700 Subject: [PATCH] Bump target API to 33. https://redmine.stoutner.com/issues/890 --- app/build.gradle | 19 ++--- app/src/main/AndroidManifest.xml | 11 +-- app/src/main/assets/de/changelog.html | 4 +- app/src/main/assets/de/licenses.html | 9 ++- app/src/main/assets/de/permissions.html | 6 +- app/src/main/assets/en/changelog.html | 4 +- app/src/main/assets/en/licenses.html | 9 ++- app/src/main/assets/en/permissions.html | 6 +- app/src/main/assets/es/changelog.html | 4 +- app/src/main/assets/es/licenses.html | 9 ++- app/src/main/assets/es/permissions.html | 6 +- app/src/main/assets/fr/changelog.html | 44 ++++++------ app/src/main/assets/fr/licenses.html | 9 ++- app/src/main/assets/fr/permissions.html | 6 +- .../notification_important_rounded_filled.svg | 30 ++++++++ .../main/assets/images/payments_rounded.svg | 4 +- app/src/main/assets/it/changelog.html | 4 +- app/src/main/assets/it/licenses.html | 9 ++- app/src/main/assets/it/permissions.html | 6 +- app/src/main/assets/ru/changelog.html | 4 +- app/src/main/assets/ru/licenses.html | 9 ++- app/src/main/assets/ru/permissions.html | 6 +- .../privacycell/activities/LogcatActivity.kt | 24 +++++-- .../activities/PrivacyCellActivity.kt | 27 ++++--- .../activities/ProtocolsActivity.kt | 4 +- .../activities/SettingsActivity.kt | 35 ++++++++- .../dialogs/NotificationPermissionDialog.kt | 71 +++++++++++++++++++ .../dialogs/PhonePermissionDialog.kt | 4 +- .../privacycell/fragments/SettingsFragment.kt | 42 +++++++++-- .../privacycell/helpers/ProtocolHelper.kt | 16 +++-- .../services/RealtimeMonitoringService.kt | 4 +- app/src/main/res/drawable/news.xml | 2 +- .../res/drawable/notification_permission.xml | 13 ++++ .../res/layout/settings_bottom_appbar.xml | 5 +- .../main/res/layout/settings_top_appbar.xml | 4 +- app/src/main/res/values-de/strings.xml | 4 +- app/src/main/res/values-es/strings.xml | 4 +- app/src/main/res/values-fr/strings.xml | 4 +- app/src/main/res/values-it/strings.xml | 4 +- app/src/main/res/values-ru/strings.xml | 4 +- app/src/main/res/values/strings.xml | 8 ++- app/src/main/res/xml/preferences.xml | 4 +- build.gradle | 8 +-- .../metadata/android/fr-FR/changelogs/10.txt | 3 + gradle/wrapper/gradle-wrapper.properties | 2 +- 45 files changed, 365 insertions(+), 149 deletions(-) create mode 100644 app/src/main/assets/images/notification_important_rounded_filled.svg create mode 100644 app/src/main/java/com/stoutner/privacycell/dialogs/NotificationPermissionDialog.kt create mode 100644 app/src/main/res/drawable/notification_permission.xml create mode 100644 fastlane/metadata/android/fr-FR/changelogs/10.txt diff --git a/app/build.gradle b/app/build.gradle index c96e6cb..160ef73 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,5 @@ /* - * Copyright © 2021-2022 Soren Stoutner . + * Copyright 2021-2022 Soren Stoutner . * * This file is part of Privacy Cell . * @@ -23,12 +23,12 @@ plugins { } android { - compileSdk 32 + compileSdk 33 defaultConfig { applicationId "com.stoutner.privacycell" minSdk 30 - targetSdk 32 + targetSdk 33 versionCode 10 versionName "1.8.1" } @@ -51,16 +51,17 @@ android { dependencies { // Include the following AndroidX libraries. - implementation 'androidx.appcompat:appcompat:1.4.2' - implementation 'androidx.core:core-ktx:1.8.0' + implementation 'androidx.appcompat:appcompat:1.5.1' + implementation 'androidx.core:core-ktx:1.9.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' implementation 'androidx.preference:preference-ktx:1.2.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' - implementation 'androidx.webkit:webkit:1.4.0' + implementation 'androidx.webkit:webkit:1.5.0' implementation 'androidx.work:work-runtime-ktx:2.7.1' // Include the Kotlin standard library. This should be the same version number listed in the project build.gradle. - implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10' + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20' // Include the Google material library. - implementation 'com.google.android.material:material:1.6.1' -} \ No newline at end of file + implementation 'com.google.android.material:material:1.7.0' +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3df75fd..f79605c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ + - + + + + @@ -101,4 +104,4 @@ - \ No newline at end of file + diff --git a/app/src/main/assets/de/changelog.html b/app/src/main/assets/de/changelog.html index 2144701..611653c 100644 --- a/app/src/main/assets/de/changelog.html +++ b/app/src/main/assets/de/changelog.html @@ -29,8 +29,8 @@ -

1.8.1 (Version Code 10)

-

8. August 2022 - Mindest-API 30, Ziel-API 32

+

1.8.1 (Version Code 10)

+

8. August 2022 - Mindest-API 30, Ziel-API 32

  • Fehler behoben, durch den nach Änderung der Netzwerk-Verbindung Benachrichtigungen wieder aktiviert wurden.
  • Zweifarbig violetten Text zum Nachtmodus (Theme) hinzugefügt.
  • diff --git a/app/src/main/assets/de/licenses.html b/app/src/main/assets/de/licenses.html index bbc8587..a0143c8 100644 --- a/app/src/main/assets/de/licenses.html +++ b/app/src/main/assets/de/licenses.html @@ -1,5 +1,5 @@ + + + + + diff --git a/app/src/main/assets/images/payments_rounded.svg b/app/src/main/assets/images/payments_rounded.svg index 8a9b2b6..7d707ee 100644 --- a/app/src/main/assets/images/payments_rounded.svg +++ b/app/src/main/assets/images/payments_rounded.svg @@ -3,7 +3,7 @@ + + + + + diff --git a/app/src/main/res/layout/settings_bottom_appbar.xml b/app/src/main/res/layout/settings_bottom_appbar.xml index 8b872ff..0135d29 100644 --- a/app/src/main/res/layout/settings_bottom_appbar.xml +++ b/app/src/main/res/layout/settings_bottom_appbar.xml @@ -1,7 +1,7 @@ - \ No newline at end of file + diff --git a/app/src/main/res/layout/settings_top_appbar.xml b/app/src/main/res/layout/settings_top_appbar.xml index 1ed0797..380c124 100644 --- a/app/src/main/res/layout/settings_top_appbar.xml +++ b/app/src/main/res/layout/settings_top_appbar.xml @@ -1,7 +1,7 @@ + Phone Permission Privacy Cell needs the Read Phone State permission to determine the safety level of your cell connection. + Notification Permission + Privacy Cell needs the Post Notification permission to display realtime monitoring notifications. OK @@ -176,4 +178,4 @@ consider_3g_antiquated interface bottom_app_bar - \ No newline at end of file + diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 1d9d697..95d0515 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -1,7 +1,7 @@