diff --git a/android/app/build.gradle b/android/app/build.gradle index 7b842ba5..2a6ce2f9 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -31,11 +31,8 @@ if (keystorePropertiesFile.exists()) { } android { - compileSdkVersion 30 - - lintOptions { - checkReleaseBuilds false - } + compileSdkVersion 31 + sourceSets { main.java.srcDirs += 'src/main/kotlin' } @@ -44,7 +41,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "org.fsociety.vernet" minSdkVersion 16 - targetSdkVersion 30 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } @@ -78,6 +75,9 @@ android { versionNameSuffix "-store" } } + lint { + checkReleaseBuilds false + } } flutter { diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 730bf3dc..ea67ebbf 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -20,6 +20,7 @@ android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" + android:exported="true" android:windowSoftInputMode="adjustResize">