From ec91c45d39bbdb6cc21d24fc3c39a13e5503b44c Mon Sep 17 00:00:00 2001 From: Dat PHAM HOANG Date: Tue, 22 Nov 2022 14:28:01 +0700 Subject: [PATCH] Support targetSDK 31 (required from Play store) - Components using IntentFilter must set android:exported="true" - Other required was not impacted --- android/app/build.gradle | 3 ++- android/app/src/main/AndroidManifest.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index c187feb14..1eb259f16 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -41,7 +41,7 @@ android { defaultConfig { applicationId "com.linagora.android.teammail" minSdkVersion 16 - targetSdkVersion 30 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName // The number of method references in a .dex file cannot exceed 64K @@ -76,4 +76,5 @@ flutter { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation 'com.android.support:multidex:1.0.3' + implementation 'androidx.work:work-runtime-ktx:2.7.0' } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 7e743227d..9f003d3e9 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -37,6 +37,7 @@ android:icon="@mipmap/ic_launcher">