diff --git a/android/app/build.gradle b/android/app/build.gradle index 2e9c36e..0f5044b 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -55,8 +55,8 @@ android { // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdk = 23 targetSdk = flutter.targetSdkVersion - versionCode = 126 - versionName = '1.5.26' + versionCode = 127 + versionName = '1.5.27' multiDexEnabled =true } @@ -73,6 +73,10 @@ android { buildTypes { release { signingConfig signingConfigs.release + minifyEnabled true + shrinkResources true + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } } @@ -85,11 +89,8 @@ flutter { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - // implementation platform('com.google.firebase:firebase-bom:32.1.1') - // implementation 'com.facebook.android:facebook-login:12.3.0' - implementation 'com.facebook.android:facebook-login:latest.release' - - implementation 'com.stripe:paymentsheet:20.47.0' - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.2.2' + + implementation 'com.stripe:paymentsheet:20.52.2' + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4' } diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index ef62132..19a6761 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -28,3 +28,5 @@ # Keep rules for Stripe -keep class com.stripe.android.** { *; } -keep class com.stripe.android.pushProvisioning.** { *; } +-keep class com.yalantis.ucrop.** { *; } +-keep class com.yalantis.ucrop.util.** { *; } \ No newline at end of file diff --git a/android/gradle.properties b/android/gradle.properties index d2bc94c..673be0c 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -4,4 +4,5 @@ android.enableJetifier=true org.gradle.jvmargs=-Xmx4096m android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=false -android.nonFinalResIds=false \ No newline at end of file +android.nonFinalResIds=false +android.enableR8.fullMode=true \ No newline at end of file