Skip to content

Commit 72356fd

Browse files
[various] Update example app minSdkVersions (#8035)
Updates all examples apps that haven't yet switch to using `flutter.minSdkVersion` as their value to use that instead of a hard-coded version, as none currently need a version higher than Flutter stable's min version.
1 parent 6d6cc9a commit 72356fd

File tree

11 files changed

+11
-17
lines changed

11 files changed

+11
-17
lines changed

packages/camera/camera/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ android {
3131

3232
defaultConfig {
3333
applicationId "io.flutter.plugins.cameraexample"
34-
minSdkVersion 21
34+
minSdkVersion flutter.minSdkVersion
3535
targetSdkVersion 28
3636
versionCode flutterVersionCode.toInteger()
3737
versionName flutterVersionName

packages/camera/camera_android/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ android {
3131

3232
defaultConfig {
3333
applicationId "io.flutter.plugins.cameraexample"
34-
minSdkVersion 21
34+
minSdkVersion flutter.minSdkVersion
3535
targetSdkVersion 28
3636
versionCode flutterVersionCode.toInteger()
3737
versionName flutterVersionName

packages/camera/camera_android_camerax/example/android/app/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,8 @@ android {
3636
}
3737

3838
defaultConfig {
39-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4039
applicationId "io.flutter.plugins.cameraxexample"
41-
// You can update the following values to match your application needs.
42-
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
43-
minSdkVersion 21
40+
minSdkVersion flutter.minSdkVersion
4441
targetSdkVersion 30
4542
versionCode flutterVersionCode.toInteger()
4643
versionName flutterVersionName

packages/file_selector/file_selector_android/example/android/app/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,8 @@ android {
3333
}
3434

3535
defaultConfig {
36-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3736
applicationId "dev.flutter.packages.file_selector_android_example"
38-
// You can update the following values to match your application needs.
39-
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
40-
minSdkVersion 21
37+
minSdkVersion flutter.minSdkVersion
4138
targetSdkVersion 34
4239
versionCode flutterVersionCode.toInteger()
4340
versionName flutterVersionName

packages/google_maps_flutter/google_maps_flutter/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

3131
defaultConfig {
3232
applicationId "io.flutter.plugins.googlemapsexample"
33-
minSdkVersion 20
33+
minSdkVersion flutter.minSdkVersion
3434
targetSdkVersion 28
3535
versionCode flutterVersionCode.toInteger()
3636
versionName flutterVersionName

packages/quick_actions/quick_actions/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ android {
3131

3232
defaultConfig {
3333
applicationId "io.flutter.plugins.quickactionsexample"
34-
minSdkVersion 21
34+
minSdkVersion flutter.minSdkVersion
3535
targetSdkVersion 28
3636
versionCode flutterVersionCode.toInteger()
3737
versionName flutterVersionName

packages/quick_actions/quick_actions_android/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ android {
3333

3434
defaultConfig {
3535
applicationId "io.flutter.plugins.quickactionsexample"
36-
minSdkVersion 21
36+
minSdkVersion flutter.minSdkVersion
3737
targetSdkVersion 34
3838
versionCode flutterVersionCode.toInteger()
3939
versionName flutterVersionName

packages/video_player/video_player/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ android {
3535

3636
defaultConfig {
3737
applicationId "io.flutter.plugins.videoplayerexample"
38-
minSdkVersion 21
38+
minSdkVersion flutter.minSdkVersion
3939
targetSdkVersion 29
4040
versionCode flutterVersionCode.toInteger()
4141
versionName flutterVersionName

packages/video_player/video_player_android/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ android {
3535

3636
defaultConfig {
3737
applicationId "io.flutter.plugins.videoplayerexample"
38-
minSdkVersion 21
38+
minSdkVersion flutter.minSdkVersion
3939
targetSdkVersion 34
4040
versionCode flutterVersionCode.toInteger()
4141
versionName flutterVersionName

packages/webview_flutter/webview_flutter/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
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3232
applicationId "io.flutter.plugins.webviewflutterexample"
33-
minSdkVersion 21
33+
minSdkVersion flutter.minSdkVersion
3434
targetSdkVersion 35
3535
versionCode flutterVersionCode.toInteger()
3636
versionName flutterVersionName

packages/webview_flutter/webview_flutter_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
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3232
applicationId "io.flutter.plugins.webviewflutterandroidexample"
33-
minSdkVersion 21
33+
minSdkVersion flutter.minSdkVersion
3434
targetSdkVersion 34
3535
versionCode flutterVersionCode.toInteger()
3636
versionName flutterVersionName

0 commit comments

Comments
 (0)