diff --git a/app/build.gradle b/app/build.gradle
index e6591fd8..0baf0d6f 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,12 +9,12 @@ android {
keyAlias 'github_x0b'
}
}
- compileSdkVersion 32
+ compileSdkVersion 33
ndkVersion '25.0.8775105'
defaultConfig {
applicationId 'de.felixnuesse.extract'
minSdkVersion 21
- targetSdkVersion 32
+ targetSdkVersion 33
versionCode 200 // last digit is reserved for ABI, only ever end on 0!
versionName '2.0.6-dev'
resConfigs "en", "de" // restrict to used languages
@@ -79,8 +79,8 @@ android {
}
}
compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
+ sourceCompatibility JavaVersion.VERSION_11
+ targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '1.8'
@@ -100,35 +100,33 @@ repositories {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
- implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'androidx.appcompat:appcompat:1.7.0-alpha01'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
- implementation 'androidx.core:core:1.3.2'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'androidx.browser:browser:1.3.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+ implementation 'androidx.browser:browser:1.4.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.recyclerview:recyclerview:1.2.0'
- implementation 'androidx.preference:preference:1.1.1'
- implementation 'com.google.android.material:material:1.3.0'
+ implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'com.github.leinardi:FloatingActionButtonSpeedDial:3.1.1'
implementation 'org.markdownj:markdownj-core:0.4'
implementation 'jp.wasabeef:recyclerview-animators:4.0.2'
implementation 'com.github.GrenderG:Toasty:1.3.0'
- // Appcenter (sourced from own sdk fork to ensure control)
- def appCenterSdkVersion = '4.1.1'
- implementation "com.github.x0b.appcenter-sdk-android:appcenter-analytics:${appCenterSdkVersion}"
- implementation "com.github.x0b.appcenter-sdk-android:appcenter-crashes:${appCenterSdkVersion}"
+
+ implementation 'androidx.appcompat:appcompat:1.7.0-alpha01'
+ implementation 'com.google.android.material:material:1.7.0'
+ implementation 'androidx.preference:preference:1.2.0'
+
+
// Thumbnails
- implementation 'com.github.bumptech.glide:glide:4.12.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
+ implementation 'com.github.bumptech.glide:glide:4.14.2'
+ annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2'
// REST Client
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
debugImplementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
// JSON
- implementation 'com.fasterxml.jackson.core:jackson-core:2.12.3'
- implementation 'com.fasterxml.jackson.core:jackson-annotations:2.12.3'
- implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
+ implementation 'com.fasterxml.jackson.core:jackson-core:2.14.1'
+ implementation 'com.fasterxml.jackson.core:jackson-annotations:2.14.1'
+ implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.1'
// Timestmps
implementation 'com.github.x0b:rfc3339parser:2.0.0'
// SAF/WebDAV
@@ -136,12 +134,12 @@ dependencies {
implementation 'org.nanohttpd:nanohttpd:2.3.1'
// Java 8+ library support
// TODO: replace with coreLibraryDesugar once available
- implementation 'net.sourceforge.streamsupport:android-retrostreams:1.7.3'
- implementation 'net.sourceforge.streamsupport:android-retrofuture:1.7.3'
+ implementation 'net.sourceforge.streamsupport:android-retrostreams:1.7.4'
+ implementation 'net.sourceforge.streamsupport:android-retrofuture:1.7.4'
// App intro
implementation 'com.github.AppIntro:AppIntro:6.1.0'
// TEST
- testImplementation 'junit:junit:4.13.1'
- androidTestImplementation 'androidx.test:runner:1.3.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test:runner:1.5.1'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index c0fc651a..395a108e 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -29,11 +29,10 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
- tools:ignore="GoogleAppIndexingWarning"
- tools:targetApi="29">
-
+ tools:ignore="GoogleAppIndexingWarning,MissingTvBanner"
+ tools:targetApi="33">
+
{
- if (null == crashReportSummary || null == getContext()) {
- return;
- }
- if (null == uuid) {
- crashReportSummary.setText(getString(R.string.pref_crash_report_summary, getString(R.string.restart_required)));
- } else {
- String userId = uuid.toString();
- crashReportSummary.setText(getString(R.string.pref_crash_report_summary, userId));
- }
- });
+
} else {
crashReportSummary.setText(getString(R.string.pref_crash_report_summary, "N/A"));
}
diff --git a/app/src/main/res/drawable/nav_header_background_rounded.xml b/app/src/main/res/drawable/nav_header_background_rounded.xml
index ec603e29..7960d7ce 100644
--- a/app/src/main/res/drawable/nav_header_background_rounded.xml
+++ b/app/src/main/res/drawable/nav_header_background_rounded.xml
@@ -2,9 +2,10 @@
-
-
+
diff --git a/app/src/main/res/drawable/nav_item_textcolor_state.xml b/app/src/main/res/drawable/nav_item_textcolor_state.xml
index bf857feb..8b53ce22 100644
--- a/app/src/main/res/drawable/nav_item_textcolor_state.xml
+++ b/app/src/main/res/drawable/nav_item_textcolor_state.xml
@@ -1,11 +1,11 @@
\ No newline at end of file
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
deleted file mode 100644
index 8e56d931..00000000
--- a/app/src/main/res/values-night/colors.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- #3D8E40
- #2A6A2D
- #C8E6C9
- #C37400
-
-
- #303030
- #424242
-
-
- #FFFFFFFF
- #B3FFFFFF
- #B3C5C5C5
-
- #1FFFFFFF
- #FFFFFF
- #B3FFFFFF
- @color/colorAccent
- #B3FFFFFF
-
-
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 7e4334c8..833f8e05 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,28 +1,80 @@
-
+
- #4CAF50
- #388E3C
- #C8E6C9
- #FF9800
+ #4CAF50
+ #006E1C
+ #FFFFFF
+ #94F990
+ #002204
+ #52634F
+ #FFFFFF
+ #D5E8CF
+ #111F0F
+ #38656A
+ #FFFFFF
+ #BCEBF0
+ #002023
+ #BA1A1A
+ #FFDAD6
+ #FFFFFF
+ #410002
+ #FCFDF6
+ #1A1C19
+ #FCFDF6
+ #1A1C19
+ #DEE5D8
+ #424940
+ #72796F
+ #F0F1EB
+ #2F312D
+ #78DC77
+ #000000
+ #006E1C
+ #C2C9BD
+ #000000
+ #78DC77
+ #00390A
+ #005313
+ #94F990
+ #BACCB3
+ #253423
+ #3B4B38
+ #D5E8CF
+ #A0CFD4
+ #00363B
+ #1F4D52
+ #BCEBF0
+ #FFB4AB
+ #93000A
+ #690005
+ #FFDAD6
+ #1A1C19
+ #E2E3DD
+ #1A1C19
+ #E2E3DD
+ #424940
+ #C2C9BD
+ #8C9388
+ #1A1C19
+ #E2E3DD
+ #006E1C
+ #000000
+ #78DC77
+ #424940
+ #000000
- #FAFAFA
- #FFFFFF
- #5E5E5E
- #717070
- #A5A5A5
- #E4E4E4
- #4A4A4A
- #757575
- ?attr/colorAccent
- #757575
+ @android:color/darker_gray
+ @android:color/darker_gray
+ @android:color/white
+ @color/seed
+ @color/md_theme_light_secondary
+ @color/md_theme_light_tertiary
+ @color/md_theme_light_tertiary
+ @color/md_theme_light_onPrimary
+ @color/md_theme_light_onSecondary
+ @color/md_theme_light_primaryContainer
+ @color/md_theme_light_primaryContainer
+ @color/white
+ @color/grey
+ @color/grey
- #FFFFFF
- #DDDDDD
- #E0E0E0
- #303030
- #99bdbdbd
-
- #212121
- #757575
- #BDBDBD
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 9c5e5d22..c01c9728 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -1,13 +1,5 @@
-
-
-