TF-46 Config for Android platform

This commit is contained in:
dab246
2021-08-30 16:00:37 +07:00
committed by Dat H. Pham
parent ee615c7ccd
commit 41b4e8296c
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -39,6 +39,8 @@ android {
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
// The number of method references in a .dex file cannot exceed 64K
multiDexEnabled true
}
buildTypes {
@@ -56,4 +58,5 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'
}
+3 -1
View File
@@ -4,7 +4,9 @@
<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk tools:overrideLibrary="io.flutter.plugins.webviewflutter" />
<!-- webviewflutter support minSdk version to at least 19 -->
<!-- flutter_inappwebview support minSdk version to at least 17 -->
<uses-sdk tools:overrideLibrary="io.flutter.plugins.webviewflutter, com.pichillilorenzo.flutter_inappwebview" />
<queries>
<intent>