diff --git a/.idea/compiler.xml b/.idea/compiler.xml index fb7f4a8..b589d56 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index a2d7c21..0897082 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,15 +4,15 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index 41fd905..c1e5ee7 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -80,7 +80,7 @@ - + diff --git a/app/build.gradle b/app/build.gradle index 0655d17..745f878 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,5 +1,6 @@ plugins { id 'com.android.application' + id 'com.google.gms.google-services' } android { @@ -7,10 +8,10 @@ android { defaultConfig { applicationId "de.labor_stein.befund" - minSdk 26 + minSdk 31 targetSdk 34 - versionCode 11 - versionName "1.9" + versionCode 13 + versionName "1.11" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -28,30 +29,28 @@ android { buildFeatures { viewBinding true } + namespace 'de.labor_stein.befund' } -apply plugin: 'com.android.application' -apply plugin: 'com.google.gms.google-services' - dependencies { - implementation 'androidx.appcompat:appcompat:1.4.1' - implementation 'com.google.android.material:material:1.5.0' - implementation 'androidx.constraintlayout:constraintlayout:2.1.3' - implementation 'androidx.navigation:navigation-fragment:2.4.2' - implementation 'androidx.navigation:navigation-ui:2.4.2' - implementation 'com.google.firebase:firebase-messaging:21.1.0' + implementation 'androidx.appcompat:appcompat:1.7.0' + implementation 'com.google.android.material:material:1.12.0' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation 'androidx.navigation:navigation-fragment:2.8.0' + implementation 'androidx.navigation:navigation-ui:2.8.0' + implementation 'com.google.firebase:firebase-messaging:24.0.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' - implementation 'androidx.camera:camera-core:1.1.0-alpha03' - testImplementation 'junit:junit:4.+' - androidTestImplementation 'androidx.test.ext:junit:1.1.3' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + implementation 'androidx.camera:camera-core:1.5.0-alpha01' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.2.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' implementation 'org.whispersystems:curve25519-java:0.5.0' - implementation 'com.google.code.gson:gson:2.9.0' + implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.google.crypto.tink:tink-android:1.6.1' implementation 'com.github.bumptech.glide:glide:4.9.0' - implementation 'com.github.barteksc:android-pdf-viewer:2.8.2' + implementation 'com.github.mhiew:android-pdf-viewer:3.2.0-beta.1' implementation 'com.journeyapps:zxing-android-embedded:4.3.0' implementation("androidx.biometric:biometric:1.1.0") - implementation platform('com.google.firebase:firebase-bom:30.2.0') + implementation platform('com.google.firebase:firebase-bom:33.3.0') } \ No newline at end of file diff --git a/app/google-services.json b/app/google-services.json index 037071e..b29a8f6 100644 --- a/app/google-services.json +++ b/app/google-services.json @@ -1,36 +1,26 @@ { "project_info": { - "project_number": "127283607700", - "project_id": "befund-01", - "storage_bucket": "befund-01.appspot.com" + "project_number": "241773196582", + "project_id": "befund2go", + "storage_bucket": "befund2go.appspot.com" }, "client": [ { "client_info": { - "mobilesdk_app_id": "1:127283607700:android:c2f0153fc4c20ef87a5c81", + "mobilesdk_app_id": "1:241773196582:android:ee6cecd5b89c5ef536bde7", "android_client_info": { "package_name": "de.labor_stein.befund" } }, - "oauth_client": [ - { - "client_id": "127283607700-phvfe3dp6d41ej37b2m543ng16as8bki.apps.googleusercontent.com", - "client_type": 3 - } - ], + "oauth_client": [], "api_key": [ { - "current_key": "AIzaSyBkmPBIyKCsYilMNH6lxjlgfNPxm3OPyoo" + "current_key": "AIzaSyAiFKsbS49ld3gdLWgnB76-bLqBbyapqxw" } ], "services": { "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "127283607700-phvfe3dp6d41ej37b2m543ng16as8bki.apps.googleusercontent.com", - "client_type": 3 - } - ] + "other_platform_oauth_client": [] } } } diff --git a/app/release/app-release.aab b/app/release/app-release.aab index b999e15..430916e 100644 Binary files a/app/release/app-release.aab and b/app/release/app-release.aab differ diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5af65f4..408a787 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ - + diff --git a/app/src/main/java/de/labor_stein/befund/Core/Models/Settings.java b/app/src/main/java/de/labor_stein/befund/Core/Models/Settings.java index ef6c225..b55f6de 100644 --- a/app/src/main/java/de/labor_stein/befund/Core/Models/Settings.java +++ b/app/src/main/java/de/labor_stein/befund/Core/Models/Settings.java @@ -21,7 +21,7 @@ import de.labor_stein.befund.Core.Log; public class Settings { // Change this variable to enforce Privacy Policy Popup on update to this version - public static String PrivacyPolicyAcceptedKey = "privacy_policy_accepted_2"; + public static String PrivacyPolicyAcceptedKey = "privacy_policy_accepted_3"; public String public_key = null; public String hashed_private_key = null; diff --git a/build.gradle b/build.gradle index e23d5ef..b5db770 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.2.1' - classpath 'com.google.gms:google-services:4.3.12' + classpath 'com.android.tools.build:gradle:8.6.0' + classpath 'com.google.gms:google-services:4.4.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -14,4 +14,4 @@ buildscript { task clean(type: Delete) { delete rootProject.buildDir -} \ No newline at end of file +} diff --git a/gradle.properties b/gradle.properties index 52f5917..fee0f56 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,4 +16,7 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX -android.enableJetifier=true \ No newline at end of file +android.enableJetifier=true +android.buildfeatures.buildconfig=true +android.nonTransitiveRClass=false +android.nonFinalResIds=false \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 9eeeca5..ed32e12 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Jun 13 09:03:00 CEST 2022 +#Tue Sep 17 11:16:04 CEST 2024 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME diff --git a/settings.gradle b/settings.gradle index 6c65f60..44d214b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -3,7 +3,7 @@ dependencyResolutionManagement { repositories { google() mavenCentral() - jcenter() // Warning: this repository is going to shut down soon + gradlePluginPortal() } } rootProject.name = "Befund"