Skip to content

Commit 8ca81bd

Browse files
authored
Bump Remaining Plugin Example Apps to targetSdkVersion >= 34 and compileSdkVersion >= 34 (#8361)
Bumping `local_auth_android` and `all_packages` to `targetSdkVersion` >= 34. Also bumping `compileSdkVersion` to >=34 for `all_packages`. Fixes [#152929](flutter/flutter#152929)
1 parent 0dab6f5 commit 8ca81bd

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.ci/legacy_project/all_packages/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ if (flutterVersionName == null) {
2424

2525
android {
2626
namespace = "com.example.all_packages"
27-
compileSdkVersion 33
27+
compileSdkVersion flutter.compileSdkVersion
2828

2929
defaultConfig {
3030
applicationId "com.example.all_packages"
3131
minSdkVersion flutter.minSdkVersion
32-
targetSdkVersion 30
32+
targetSdkVersion flutter.targetSdkVersion
3333
versionCode flutterVersionCode.toInteger()
3434
versionName flutterVersionName
3535
}

.ci/legacy_project/all_packages/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
android:theme="@style/LaunchTheme"
1010
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1111
android:hardwareAccelerated="true"
12+
android:exported="true"
1213
android:windowSoftInputMode="adjustResize">
1314
<!-- Specifies an Android theme to apply to this Activity as soon as
1415
the Android process has started. This theme is visible to the user

packages/local_auth/local_auth_android/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
defaultConfig {
3131
applicationId "io.flutter.plugins.localauthexample"
3232
minSdkVersion flutter.minSdkVersion
33-
targetSdkVersion 34
33+
targetSdkVersion flutter.targetSdkVersion
3434
versionCode flutterVersionCode.toInteger()
3535
versionName flutterVersionName
3636
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

0 commit comments

Comments
 (0)