diff --git a/android/app/build.gradle b/android/app/build.gradle index 39ef1c7..61db26b 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -30,7 +30,8 @@ android { noCompress "tflite" } - compileSdkVersion 29 + compileSdkVersion 31 + ndkVersion "20.0.5594570" lintOptions { disable 'InvalidPackage' @@ -40,7 +41,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "tech.mr0kaushik.sms_spam_detection" minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" @@ -63,9 +64,9 @@ flutter { dependencies { - implementation 'com.google.code.gson:gson:2.8.5' + implementation 'com.google.code.gson:gson:2.8.6' implementation 'org.tensorflow:tensorflow-lite:2.1.0' - testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test:runner:1.2.0' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' + testImplementation 'junit:junit:4.13.1' + androidTestImplementation 'androidx.test:runner:1.4.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 4b63155..fb04b26 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -24,6 +24,8 @@ android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" + android:showWhenLocked="true" + android:turnScreenOn="true" android:windowSoftInputMode="adjustResize">