diff --git a/screen_brightness/example/android/app/build.gradle b/screen_brightness/example/android/app/build.gradle index 63cfe56..0abd8d0 100644 --- a/screen_brightness/example/android/app/build.gradle +++ b/screen_brightness/example/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 31 + compileSdk 34 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -45,7 +45,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.aaassseee.screen_brightness_example" minSdkVersion flutter.minSdkVersion - targetSdkVersion 30 + targetSdkVersion 34 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/screen_brightness/example/android/app/src/main/AndroidManifest.xml b/screen_brightness/example/android/app/src/main/AndroidManifest.xml index 1d5089e..b6d667f 100644 --- a/screen_brightness/example/android/app/src/main/AndroidManifest.xml +++ b/screen_brightness/example/android/app/src/main/AndroidManifest.xml @@ -9,7 +9,8 @@ android:launchMode="singleTop" android:name=".MainActivity" android:theme="@style/LaunchTheme" - android:windowSoftInputMode="adjustResize"> + android:windowSoftInputMode="adjustResize" + android:exported="true">