diff --git a/app/build.gradle b/app/build.gradle index 3d6d6864..f40f9fbf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -29,7 +29,7 @@ allprojects { Before the release please change the url below to: https://repo.onewelcome.com/artifactory/onegini-sdk Please change it back to https://repo.onewelcome.com/artifactory/public after the release */ - url "https://repo.onewelcome.com/artifactory/onegini-sdk" + url "https://repo.onewelcome.com/artifactory/public" credentials { username artifactory_user password artifactory_password @@ -74,7 +74,7 @@ android { dependencies { // Onegini SDK - api('com.onegini.mobile.sdk.android:onegini-sdk:12.2.0@aar') { + api('com.onegini.mobile.sdk.android:onegini-sdk:12.3.0-SNAPSHOT@aar') { transitive = true } // Rest Client @@ -89,14 +89,14 @@ dependencies { // Google Play Services availability check implementation 'com.google.android.gms:play-services-base:18.5.0' //Firebase Cloud Messaging (FCM) - implementation 'com.google.firebase:firebase-messaging:24.0.0' + implementation 'com.google.firebase:firebase-messaging:24.0.2' // Support for multidex implementation 'androidx.multidex:multidex:2.0.1' // DI for views implementation 'com.jakewharton:butterknife:10.2.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0' // RxJava - implementation 'io.reactivex.rxjava3:rxjava:3.1.8' + implementation 'io.reactivex.rxjava3:rxjava:3.1.9' implementation 'io.reactivex.rxjava3:rxandroid:3.0.2' //Biometric diff --git a/app/proguard-rules-example-app.pro b/app/proguard-rules-example-app.pro index 0c62465b..825596bc 100644 --- a/app/proguard-rules-example-app.pro +++ b/app/proguard-rules-example-app.pro @@ -65,7 +65,25 @@ #RxJava 1 -dontnote rx.** -# https://r8.googlesource.com/r8/+/refs/heads/master/compatibility-faq.md#member-in-a-data-object-is-always --keepclassmembers,allowobfuscation class * { + +# Starting from AGP 8 R8 full mode is enabled by default. It uses more aggresive obfuscation than compatibility mode and removes data classes +# that rely on Gson serialization/deserialization. +# Below config is part of Gson built-in proguard rules. It's available starting from version 2.11.0, but we use version transitively provided +# by retrofit which is 2.10.1. Therefore we manually include required rule + +# Keep fields annotated with @SerializedName for classes which are referenced. +# If classes with fields annotated with @SerializedName have a no-args +# constructor keep that as well. Based on +# https://issuetracker.google.com/issues/150189783#comment11. +# See also https://github.com/google/gson/pull/2420#discussion_r1241813541 +# for a more detailed explanation. +-if class * +-keepclasseswithmembers,allowobfuscation class <1> { @com.google.gson.annotations.SerializedName ; } +-if class * { + @com.google.gson.annotations.SerializedName ; +} +-keepclassmembers,allowobfuscation,allowoptimization class <1> { + (); +} diff --git a/build.gradle b/build.gradle index ee58c573..43b724dc 100644 --- a/build.gradle +++ b/build.gradle @@ -22,8 +22,8 @@ buildscript { google() } dependencies { - classpath 'com.google.gms:google-services:4.4.1' - classpath 'com.android.tools.build:gradle:8.3.0' + classpath 'com.android.tools.build:gradle:8.7.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 } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a7c5ada3..a8de1044 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Fri Jul 05 14:54:05 CEST 2024 +#Thu Feb 13 13:29:24 CET 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists