Skip to content

Commit 6841bb1

Browse files
authored
[Many] Bump to min minSdkVersion of 19 across all plugins (flutter#6506)
* Bumps any `minSdkVersion`'s below 19 to 19, as the change to only support 19+ has been in stable for a bit now. * Bumps the minimum required flutter version to 3.16 for the changed packages, as that is the first version in which we started automigrating `minSdkVersion`'s less than 19. * Also bumps the `minSdkVersion` in the legacy project to `flutter.minSdkVersion`, as this would happen when running an app with `minSdkVersion` < 19. * Removes some code branches for cases of sdk < 19. * Fixes some failing tests in `video_player` - for full transparency, I have now idea how these could have been passing before?
1 parent fc47eb7 commit 6841bb1

File tree

34 files changed

+87
-85
lines changed

34 files changed

+87
-85
lines changed

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

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

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

packages/espresso/CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## NEXT
1+
## 0.3.0+8
22

3-
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
3+
* Updates minSdkVersion to 19.
4+
* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
45
* Updates compileSdk version to 34.
56

67
## 0.3.0+7

packages/espresso/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
compileSdk 34
3030

3131
defaultConfig {
32-
minSdkVersion 16
32+
minSdkVersion 19
3333
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3434
}
3535

packages/espresso/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Java classes for testing Flutter apps using Espresso.
33
Allows driving Flutter widgets from a native Espresso test.
44
repository: https://github.com/flutter/packages/tree/main/packages/espresso
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espresso%22
6-
version: 0.3.0+7
6+
version: 0.3.0+8
77

88
environment:
9-
sdk: ^3.1.0
10-
flutter: ">=3.13.0"
9+
sdk: ^3.2.0
10+
flutter: ">=3.16.0"
1111

1212
flutter:
1313
plugin:

packages/flutter_plugin_android_lifecycle/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.0.19
2+
3+
* Updates minSdkVersion to 19.
4+
* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
5+
16
## 2.0.18
27

38
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.

packages/flutter_plugin_android_lifecycle/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
compileSdk 34
3030

3131
defaultConfig {
32-
minSdkVersion 16
32+
minSdkVersion 19
3333
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3434
consumerProguardFiles 'proguard.txt'
3535
}

packages/flutter_plugin_android_lifecycle/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: flutter_plugin_android_lifecycle
22
description: Flutter plugin for accessing an Android Lifecycle within other plugins.
33
repository: https://github.com/flutter/packages/tree/main/packages/flutter_plugin_android_lifecycle
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_plugin_android_lifecycle%22
5-
version: 2.0.18
5+
version: 2.0.19
66

77
environment:
8-
sdk: ^3.1.0
9-
flutter: ">=3.13.0"
8+
sdk: ^3.2.0
9+
flutter: ">=3.16.0"
1010

1111
flutter:
1212
plugin:

packages/google_sign_in/google_sign_in_android/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 6.1.23
2+
3+
* Updates minSdkVersion to 19.
4+
* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
5+
16
## 6.1.22
27

38
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.

packages/google_sign_in/google_sign_in_android/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
compileSdk 34
3030

3131
defaultConfig {
32-
minSdkVersion 16
32+
minSdkVersion 19
3333
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3434
}
3535

packages/google_sign_in/google_sign_in_android/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: google_sign_in_android
22
description: Android implementation of the google_sign_in plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/google_sign_in/google_sign_in_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
5-
version: 6.1.22
5+
version: 6.1.23
66

77
environment:
8-
sdk: ^3.1.0
9-
flutter: ">=3.13.0"
8+
sdk: ^3.2.0
9+
flutter: ">=3.16.0"
1010

1111
flutter:
1212
plugin:

0 commit comments

Comments
 (0)