From 0357b2b9cc7afa39898d88e41eb31925b9469508 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 11 Apr 2024 14:30:39 -0700 Subject: [PATCH 01/10] upgrade to min sdk 19 --- .ci/legacy_project/all_packages/android/app/build.gradle | 2 +- packages/espresso/android/build.gradle | 2 +- packages/flutter_plugin_android_lifecycle/android/build.gradle | 2 +- .../google_sign_in/google_sign_in_android/android/build.gradle | 2 +- packages/image_picker/image_picker_android/android/build.gradle | 2 +- .../path_provider/path_provider_android/android/build.gradle | 2 +- .../alternate_language_test_plugin/android/build.gradle | 2 +- packages/pigeon/platform_tests/test_plugin/android/build.gradle | 2 +- .../quick_actions/quick_actions_android/android/build.gradle | 2 +- .../shared_preferences_android/android/build.gradle | 2 +- packages/url_launcher/url_launcher_android/android/build.gradle | 2 +- packages/video_player/video_player_android/android/build.gradle | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.ci/legacy_project/all_packages/android/app/build.gradle b/.ci/legacy_project/all_packages/android/app/build.gradle index e63210bfca16..2170e19cea13 100644 --- a/.ci/legacy_project/all_packages/android/app/build.gradle +++ b/.ci/legacy_project/all_packages/android/app/build.gradle @@ -29,7 +29,7 @@ android { defaultConfig { applicationId "com.example.all_packages" - minSdkVersion 16 + minSdkVersion flutter.minSdkVersion targetSdkVersion 30 versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/packages/espresso/android/build.gradle b/packages/espresso/android/build.gradle index 4fc9453880ee..18f4f6bb2e9e 100644 --- a/packages/espresso/android/build.gradle +++ b/packages/espresso/android/build.gradle @@ -29,7 +29,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/packages/flutter_plugin_android_lifecycle/android/build.gradle b/packages/flutter_plugin_android_lifecycle/android/build.gradle index 43581360120b..2c4cce6f17be 100644 --- a/packages/flutter_plugin_android_lifecycle/android/build.gradle +++ b/packages/flutter_plugin_android_lifecycle/android/build.gradle @@ -29,7 +29,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'proguard.txt' } diff --git a/packages/google_sign_in/google_sign_in_android/android/build.gradle b/packages/google_sign_in/google_sign_in_android/android/build.gradle index b98cfec12c62..06b27de658e5 100644 --- a/packages/google_sign_in/google_sign_in_android/android/build.gradle +++ b/packages/google_sign_in/google_sign_in_android/android/build.gradle @@ -29,7 +29,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/packages/image_picker/image_picker_android/android/build.gradle b/packages/image_picker/image_picker_android/android/build.gradle index ef035edd41b1..e604f476ecc8 100644 --- a/packages/image_picker/image_picker_android/android/build.gradle +++ b/packages/image_picker/image_picker_android/android/build.gradle @@ -29,7 +29,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { diff --git a/packages/path_provider/path_provider_android/android/build.gradle b/packages/path_provider/path_provider_android/android/build.gradle index 22eb84b41bda..566b90ef760f 100644 --- a/packages/path_provider/path_provider_android/android/build.gradle +++ b/packages/path_provider/path_provider_android/android/build.gradle @@ -29,7 +29,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { diff --git a/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle b/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle index 46b0b9ef1bfa..4add59bacb2a 100644 --- a/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle +++ b/packages/pigeon/platform_tests/alternate_language_test_plugin/android/build.gradle @@ -34,7 +34,7 @@ android { } defaultConfig { - minSdkVersion 16 + minSdkVersion 19 } testOptions { diff --git a/packages/pigeon/platform_tests/test_plugin/android/build.gradle b/packages/pigeon/platform_tests/test_plugin/android/build.gradle index 0c9d5d437c4d..96cc166d5a89 100644 --- a/packages/pigeon/platform_tests/test_plugin/android/build.gradle +++ b/packages/pigeon/platform_tests/test_plugin/android/build.gradle @@ -46,7 +46,7 @@ android { } defaultConfig { - minSdkVersion 16 + minSdkVersion 19 } testOptions { diff --git a/packages/quick_actions/quick_actions_android/android/build.gradle b/packages/quick_actions/quick_actions_android/android/build.gradle index a66c18177f7c..7398e660a175 100644 --- a/packages/quick_actions/quick_actions_android/android/build.gradle +++ b/packages/quick_actions/quick_actions_android/android/build.gradle @@ -29,7 +29,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { diff --git a/packages/shared_preferences/shared_preferences_android/android/build.gradle b/packages/shared_preferences/shared_preferences_android/android/build.gradle index 879464c4d9e4..291be9625655 100644 --- a/packages/shared_preferences/shared_preferences_android/android/build.gradle +++ b/packages/shared_preferences/shared_preferences_android/android/build.gradle @@ -42,7 +42,7 @@ android { } defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { diff --git a/packages/url_launcher/url_launcher_android/android/build.gradle b/packages/url_launcher/url_launcher_android/android/build.gradle index 9ae40a5b1b5e..5c799078acea 100644 --- a/packages/url_launcher/url_launcher_android/android/build.gradle +++ b/packages/url_launcher/url_launcher_android/android/build.gradle @@ -32,7 +32,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/packages/video_player/video_player_android/android/build.gradle b/packages/video_player/video_player_android/android/build.gradle index 88a412dd3192..9d4d8376de2d 100644 --- a/packages/video_player/video_player_android/android/build.gradle +++ b/packages/video_player/video_player_android/android/build.gradle @@ -34,7 +34,7 @@ android { compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 19 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { From ef6b4f0fbd835fb0d0c6955718c2d0b4481d0bde Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 11 Apr 2024 15:09:59 -0700 Subject: [PATCH 02/10] changelog/pubspec --- packages/espresso/CHANGELOG.md | 3 ++- packages/espresso/pubspec.yaml | 2 +- packages/flutter_plugin_android_lifecycle/CHANGELOG.md | 4 ++++ packages/flutter_plugin_android_lifecycle/pubspec.yaml | 2 +- packages/google_sign_in/google_sign_in_android/CHANGELOG.md | 4 ++++ packages/google_sign_in/google_sign_in_android/pubspec.yaml | 2 +- packages/image_picker/image_picker_android/CHANGELOG.md | 4 ++++ packages/image_picker/image_picker_android/pubspec.yaml | 2 +- packages/path_provider/path_provider_android/CHANGELOG.md | 4 ++++ packages/path_provider/path_provider_android/pubspec.yaml | 2 +- packages/quick_actions/quick_actions_android/CHANGELOG.md | 3 ++- packages/quick_actions/quick_actions_android/pubspec.yaml | 2 +- .../shared_preferences_android/CHANGELOG.md | 3 ++- .../shared_preferences_android/pubspec.yaml | 2 +- packages/url_launcher/url_launcher_android/CHANGELOG.md | 3 ++- packages/url_launcher/url_launcher_android/pubspec.yaml | 2 +- packages/video_player/video_player_android/CHANGELOG.md | 3 ++- packages/video_player/video_player_android/pubspec.yaml | 2 +- 18 files changed, 35 insertions(+), 14 deletions(-) diff --git a/packages/espresso/CHANGELOG.md b/packages/espresso/CHANGELOG.md index 13907513590c..ffb0506916be 100644 --- a/packages/espresso/CHANGELOG.md +++ b/packages/espresso/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 0.3.0+8 +* Updates minSdkVersion to 19. * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. * Updates compileSdk version to 34. diff --git a/packages/espresso/pubspec.yaml b/packages/espresso/pubspec.yaml index cbd944c92d40..776cee5780fb 100644 --- a/packages/espresso/pubspec.yaml +++ b/packages/espresso/pubspec.yaml @@ -3,7 +3,7 @@ description: Java classes for testing Flutter apps using Espresso. Allows driving Flutter widgets from a native Espresso test. repository: https://github.com/flutter/packages/tree/main/packages/espresso issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+espresso%22 -version: 0.3.0+7 +version: 0.3.0+8 environment: sdk: ^3.1.0 diff --git a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md index 001e632148a5..0cbc634520db 100644 --- a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md +++ b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.19 + +* Updates minSdkVersion to 19. + ## 2.0.18 * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. diff --git a/packages/flutter_plugin_android_lifecycle/pubspec.yaml b/packages/flutter_plugin_android_lifecycle/pubspec.yaml index 527d2594a402..8e556f5a5020 100644 --- a/packages/flutter_plugin_android_lifecycle/pubspec.yaml +++ b/packages/flutter_plugin_android_lifecycle/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_plugin_android_lifecycle description: Flutter plugin for accessing an Android Lifecycle within other plugins. repository: https://github.com/flutter/packages/tree/main/packages/flutter_plugin_android_lifecycle issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_plugin_android_lifecycle%22 -version: 2.0.18 +version: 2.0.19 environment: sdk: ^3.1.0 diff --git a/packages/google_sign_in/google_sign_in_android/CHANGELOG.md b/packages/google_sign_in/google_sign_in_android/CHANGELOG.md index ddfb3ea65262..2ae373e9d934 100644 --- a/packages/google_sign_in/google_sign_in_android/CHANGELOG.md +++ b/packages/google_sign_in/google_sign_in_android/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.23 + +* Updates minSdkVersion to 19. + ## 6.1.22 * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. diff --git a/packages/google_sign_in/google_sign_in_android/pubspec.yaml b/packages/google_sign_in/google_sign_in_android/pubspec.yaml index fbc7135c1bb2..d37ccf7a61dd 100644 --- a/packages/google_sign_in/google_sign_in_android/pubspec.yaml +++ b/packages/google_sign_in/google_sign_in_android/pubspec.yaml @@ -2,7 +2,7 @@ name: google_sign_in_android description: Android implementation of the google_sign_in plugin. repository: https://github.com/flutter/packages/tree/main/packages/google_sign_in/google_sign_in_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22 -version: 6.1.22 +version: 6.1.23 environment: sdk: ^3.1.0 diff --git a/packages/image_picker/image_picker_android/CHANGELOG.md b/packages/image_picker/image_picker_android/CHANGELOG.md index 09624c2ceb89..a9ae21ca706b 100644 --- a/packages/image_picker/image_picker_android/CHANGELOG.md +++ b/packages/image_picker/image_picker_android/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.8.9+6 + +* Updates minSdkVersion to 19. + ## 0.8.9+5 * Bumps androidx.exifinterface:exifinterface from 1.3.6 to 1.3.7. diff --git a/packages/image_picker/image_picker_android/pubspec.yaml b/packages/image_picker/image_picker_android/pubspec.yaml index a567b6dbac51..4f6b03e405ea 100755 --- a/packages/image_picker/image_picker_android/pubspec.yaml +++ b/packages/image_picker/image_picker_android/pubspec.yaml @@ -2,7 +2,7 @@ name: image_picker_android description: Android implementation of the image_picker plugin. repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22 -version: 0.8.9+5 +version: 0.8.9+6 environment: sdk: ^3.1.0 diff --git a/packages/path_provider/path_provider_android/CHANGELOG.md b/packages/path_provider/path_provider_android/CHANGELOG.md index c92793297055..0fbca54fdb18 100644 --- a/packages/path_provider/path_provider_android/CHANGELOG.md +++ b/packages/path_provider/path_provider_android/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.2.4 + +* Updates minSdkVersion version to 34. + ## 2.2.3 * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. diff --git a/packages/path_provider/path_provider_android/pubspec.yaml b/packages/path_provider/path_provider_android/pubspec.yaml index f2174af2664c..b55698979f8d 100644 --- a/packages/path_provider/path_provider_android/pubspec.yaml +++ b/packages/path_provider/path_provider_android/pubspec.yaml @@ -2,7 +2,7 @@ name: path_provider_android description: Android implementation of the path_provider plugin. repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22 -version: 2.2.3 +version: 2.2.4 environment: sdk: ^3.1.0 diff --git a/packages/quick_actions/quick_actions_android/CHANGELOG.md b/packages/quick_actions/quick_actions_android/CHANGELOG.md index 6a86c14f2a15..f84d3470edfb 100644 --- a/packages/quick_actions/quick_actions_android/CHANGELOG.md +++ b/packages/quick_actions/quick_actions_android/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 1.0.11 +* Updates minSdkVersion to 19. * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. * Updates compileSdk version to 34. diff --git a/packages/quick_actions/quick_actions_android/pubspec.yaml b/packages/quick_actions/quick_actions_android/pubspec.yaml index cb63e771a3ba..9d027af2fbfd 100644 --- a/packages/quick_actions/quick_actions_android/pubspec.yaml +++ b/packages/quick_actions/quick_actions_android/pubspec.yaml @@ -2,7 +2,7 @@ name: quick_actions_android description: An implementation for the Android platform of the Flutter `quick_actions` plugin. repository: https://github.com/flutter/packages/tree/main/packages/quick_actions/quick_actions_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22 -version: 1.0.10 +version: 1.0.11 environment: sdk: ^3.1.0 diff --git a/packages/shared_preferences/shared_preferences_android/CHANGELOG.md b/packages/shared_preferences/shared_preferences_android/CHANGELOG.md index dfd1a45f1af6..21547674c88a 100644 --- a/packages/shared_preferences/shared_preferences_android/CHANGELOG.md +++ b/packages/shared_preferences/shared_preferences_android/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 2.2.2 +* Updates minSdkVersion to 19. * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. * Updates compileSdk version to 34. * Updates mockito to 5.2.0. diff --git a/packages/shared_preferences/shared_preferences_android/pubspec.yaml b/packages/shared_preferences/shared_preferences_android/pubspec.yaml index 6339e50d4f14..10fc6830f87e 100644 --- a/packages/shared_preferences/shared_preferences_android/pubspec.yaml +++ b/packages/shared_preferences/shared_preferences_android/pubspec.yaml @@ -2,7 +2,7 @@ name: shared_preferences_android description: Android implementation of the shared_preferences plugin repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22 -version: 2.2.1 +version: 2.2.2 environment: sdk: ^3.1.0 diff --git a/packages/url_launcher/url_launcher_android/CHANGELOG.md b/packages/url_launcher/url_launcher_android/CHANGELOG.md index 4afadbf00f62..70c8923c60a2 100644 --- a/packages/url_launcher/url_launcher_android/CHANGELOG.md +++ b/packages/url_launcher/url_launcher_android/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 6.3.1 +* Updates minSdkVersion to 19. * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. ## 6.3.0 diff --git a/packages/url_launcher/url_launcher_android/pubspec.yaml b/packages/url_launcher/url_launcher_android/pubspec.yaml index 661f5a7fd56a..c6418e8b5435 100644 --- a/packages/url_launcher/url_launcher_android/pubspec.yaml +++ b/packages/url_launcher/url_launcher_android/pubspec.yaml @@ -2,7 +2,7 @@ name: url_launcher_android description: Android implementation of the url_launcher plugin. repository: https://github.com/flutter/packages/tree/main/packages/url_launcher/url_launcher_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+url_launcher%22 -version: 6.3.0 +version: 6.3.1 environment: sdk: ^3.1.0 flutter: ">=3.13.0" diff --git a/packages/video_player/video_player_android/CHANGELOG.md b/packages/video_player/video_player_android/CHANGELOG.md index 47f65e844fad..a51eef44e2a4 100644 --- a/packages/video_player/video_player_android/CHANGELOG.md +++ b/packages/video_player/video_player_android/CHANGELOG.md @@ -1,5 +1,6 @@ -## NEXT +## 2.4.13 +* Updates minSdkVersion to 19. * Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. ## 2.4.12 diff --git a/packages/video_player/video_player_android/pubspec.yaml b/packages/video_player/video_player_android/pubspec.yaml index b9a6a30bf7a7..f99bbe67cbd3 100644 --- a/packages/video_player/video_player_android/pubspec.yaml +++ b/packages/video_player/video_player_android/pubspec.yaml @@ -2,7 +2,7 @@ name: video_player_android description: Android implementation of the video_player plugin. repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player_android issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22 -version: 2.4.12 +version: 2.4.13 environment: sdk: ^3.1.0 From 0297ecd6d0589519da784f5d5acac40a49bfd986 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 11 Apr 2024 15:10:14 -0700 Subject: [PATCH 03/10] remove unneeded conditionality on sdk version --- .../imagepicker/ImagePickerDelegate.java | 2 +- .../pathprovider/PathProviderPlugin.java | 18 ++---------------- .../pathprovider/StorageDirectoryMapper.java | 6 +----- 3 files changed, 4 insertions(+), 22 deletions(-) diff --git a/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java b/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java index b50a1b20cd1e..f5c7a6b49c5e 100644 --- a/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java +++ b/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java @@ -295,7 +295,7 @@ public void chooseMediaFromGallery( private void launchPickMediaFromGalleryIntent(Messages.GeneralOptions generalOptions) { Intent pickMediaIntent; - if (generalOptions.getUsePhotoPicker() && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { + if (generalOptions.getUsePhotoPicker()) { if (generalOptions.getAllowMultiple()) { pickMediaIntent = new ActivityResultContracts.PickMultipleVisualMedia() diff --git a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java index 4ce1ba06cfb5..b96544e64033 100644 --- a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java +++ b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java @@ -110,14 +110,7 @@ private String getPathProviderStorageDirectory() { private List getPathProviderExternalCacheDirectories() { final List paths = new ArrayList<>(); - if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { - for (File dir : context.getExternalCacheDirs()) { - if (dir != null) { - paths.add(dir.getAbsolutePath()); - } - } - } else { - File dir = context.getExternalCacheDir(); + for (File dir : context.getExternalCacheDirs()) { if (dir != null) { paths.add(dir.getAbsolutePath()); } @@ -159,14 +152,7 @@ private List getPathProviderExternalStorageDirectories( @NonNull Messages.StorageDirectory directory) { final List paths = new ArrayList<>(); - if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { - for (File dir : context.getExternalFilesDirs(getStorageDirectoryString(directory))) { - if (dir != null) { - paths.add(dir.getAbsolutePath()); - } - } - } else { - File dir = context.getExternalFilesDir(getStorageDirectoryString(directory)); + for (File dir : context.getExternalFilesDirs(getStorageDirectoryString(directory))) { if (dir != null) { paths.add(dir.getAbsolutePath()); } diff --git a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java index 1a77560623a2..bc4c98fbed99 100644 --- a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java +++ b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java @@ -42,11 +42,7 @@ static String androidType(Integer dartIndex) throws IllegalArgumentException { case 8: return Environment.DIRECTORY_DCIM; case 9: - if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { - return Environment.DIRECTORY_DOCUMENTS; - } else { - throw new IllegalArgumentException("Documents directory is unsupported."); - } + return Environment.DIRECTORY_DOCUMENTS; default: throw new IllegalArgumentException("Unknown index: " + dartIndex); } From 60ab2e10ee9360bcc4e68a95a30be8657890a7d9 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 11 Apr 2024 15:40:25 -0700 Subject: [PATCH 04/10] more unneeded guarding --- .../io/flutter/plugins/imagepicker/ImagePickerDelegate.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java b/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java index f5c7a6b49c5e..a50134012d5f 100644 --- a/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java +++ b/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java @@ -341,7 +341,7 @@ public void chooseVideoFromGallery( private void launchPickVideoFromGalleryIntent(Boolean usePhotoPicker) { Intent pickVideoIntent; - if (usePhotoPicker && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { + if (usePhotoPicker) { pickVideoIntent = new ActivityResultContracts.PickVisualMedia() .createIntent( @@ -439,7 +439,7 @@ public void chooseMultiImageFromGallery( private void launchPickImageFromGalleryIntent(Boolean usePhotoPicker) { Intent pickImageIntent; - if (usePhotoPicker && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { + if (usePhotoPicker) { pickImageIntent = new ActivityResultContracts.PickVisualMedia() .createIntent( @@ -456,7 +456,7 @@ private void launchPickImageFromGalleryIntent(Boolean usePhotoPicker) { private void launchMultiPickImageFromGalleryIntent(Boolean usePhotoPicker) { Intent pickMultiImageIntent; - if (usePhotoPicker && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { + if (usePhotoPicker) { pickMultiImageIntent = new ActivityResultContracts.PickMultipleVisualMedia() .createIntent( From cfcef1f30f4eaa4daf6e25849ff8b626ecdd5231 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 11 Apr 2024 17:13:34 -0700 Subject: [PATCH 05/10] another redundant guard --- .../flutter/plugins/imagepicker/ImagePickerDelegate.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java b/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java index a50134012d5f..98b55608a754 100644 --- a/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java +++ b/packages/image_picker/image_picker_android/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java @@ -320,9 +320,7 @@ private void launchPickMediaFromGalleryIntent(Messages.GeneralOptions generalOpt pickMediaIntent.setType("*/*"); String[] mimeTypes = {"video/*", "image/*"}; pickMediaIntent.putExtra("CONTENT_TYPE", mimeTypes); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { - pickMediaIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, generalOptions.getAllowMultiple()); - } + pickMediaIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, generalOptions.getAllowMultiple()); } activity.startActivityForResult(pickMediaIntent, REQUEST_CODE_CHOOSE_MEDIA_FROM_GALLERY); } @@ -467,9 +465,7 @@ private void launchMultiPickImageFromGalleryIntent(Boolean usePhotoPicker) { } else { pickMultiImageIntent = new Intent(Intent.ACTION_GET_CONTENT); pickMultiImageIntent.setType("image/*"); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { - pickMultiImageIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true); - } + pickMultiImageIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true); } activity.startActivityForResult( pickMultiImageIntent, REQUEST_CODE_CHOOSE_MULTI_IMAGE_FROM_GALLERY); From 56fbe91333f3bde93a2dd4dc0a388d151106890f Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 11 Apr 2024 17:13:47 -0700 Subject: [PATCH 06/10] fix tests HOW WERE THESE WORKING?? --- .../io/flutter/plugins/videoplayer/VideoPlayerTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java b/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java index 85c1715dd6c6..c6d61f260a2b 100644 --- a/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java +++ b/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java @@ -8,12 +8,13 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.Mockito.*; -import static org.mockito.Mockito.any; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.never; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; +import android.graphics.SurfaceTexture; + import com.google.android.exoplayer2.ExoPlayer; import com.google.android.exoplayer2.Format; import com.google.android.exoplayer2.PlaybackException; @@ -39,6 +40,7 @@ public class VideoPlayerTest { private ExoPlayer fakeExoPlayer; private EventChannel fakeEventChannel; private TextureRegistry.SurfaceTextureEntry fakeSurfaceTextureEntry; + private SurfaceTexture fakeSurfaceTexture; private VideoPlayerOptions fakeVideoPlayerOptions; private QueuingEventSink fakeEventSink; private DefaultHttpDataSource.Factory httpDataSourceFactorySpy; @@ -52,6 +54,8 @@ public void before() { fakeExoPlayer = mock(ExoPlayer.class); fakeEventChannel = mock(EventChannel.class); fakeSurfaceTextureEntry = mock(TextureRegistry.SurfaceTextureEntry.class); + fakeSurfaceTexture = mock(SurfaceTexture.class); + when(fakeSurfaceTextureEntry.surfaceTexture()).thenReturn(fakeSurfaceTexture); fakeVideoPlayerOptions = mock(VideoPlayerOptions.class); fakeEventSink = mock(QueuingEventSink.class); httpDataSourceFactorySpy = spy(new DefaultHttpDataSource.Factory()); From 18f6d3b2d0e8e335642f455ad347a8813b1fbef3 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Thu, 11 Apr 2024 17:31:37 -0700 Subject: [PATCH 07/10] format --- .../io/flutter/plugins/pathprovider/PathProviderPlugin.java | 2 -- .../io/flutter/plugins/pathprovider/StorageDirectoryMapper.java | 2 -- .../java/io/flutter/plugins/videoplayer/VideoPlayerTest.java | 1 - 3 files changed, 5 deletions(-) diff --git a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java index b96544e64033..a29fe9b90448 100644 --- a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java +++ b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java @@ -5,8 +5,6 @@ package io.flutter.plugins.pathprovider; import android.content.Context; -import android.os.Build.VERSION; -import android.os.Build.VERSION_CODES; import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; diff --git a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java index bc4c98fbed99..4cc12ddf5a97 100644 --- a/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java +++ b/packages/path_provider/path_provider_android/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java @@ -4,8 +4,6 @@ package io.flutter.plugins.pathprovider; -import android.os.Build.VERSION; -import android.os.Build.VERSION_CODES; import android.os.Environment; /** Helps to map the Dart `StorageDirectory` enum to a Android system constant. */ diff --git a/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java b/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java index c6d61f260a2b..7ff5000d3cf7 100644 --- a/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java +++ b/packages/video_player/video_player_android/android/src/test/java/io/flutter/plugins/videoplayer/VideoPlayerTest.java @@ -14,7 +14,6 @@ import static org.mockito.Mockito.times; import android.graphics.SurfaceTexture; - import com.google.android.exoplayer2.ExoPlayer; import com.google.android.exoplayer2.Format; import com.google.android.exoplayer2.PlaybackException; From 3226ed5b4581d54795bec6e6320acdce5b1be4be Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Fri, 12 Apr 2024 07:55:33 -0700 Subject: [PATCH 08/10] fix changelog --- packages/path_provider/path_provider_android/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/path_provider/path_provider_android/CHANGELOG.md b/packages/path_provider/path_provider_android/CHANGELOG.md index 0fbca54fdb18..6fabe45e3fcc 100644 --- a/packages/path_provider/path_provider_android/CHANGELOG.md +++ b/packages/path_provider/path_provider_android/CHANGELOG.md @@ -1,6 +1,6 @@ ## 2.2.4 -* Updates minSdkVersion version to 34. +* Updates minSdkVersion version to 19. ## 2.2.3 From c2cb4708d6b51d721c50e8c6a8f9fc482ef8e3a9 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Fri, 12 Apr 2024 10:04:43 -0700 Subject: [PATCH 09/10] bump to 3.16 as min flutter version required, and note that in changelog --- packages/espresso/CHANGELOG.md | 2 +- packages/espresso/pubspec.yaml | 2 +- packages/flutter_plugin_android_lifecycle/CHANGELOG.md | 1 + packages/flutter_plugin_android_lifecycle/pubspec.yaml | 2 +- packages/google_sign_in/google_sign_in_android/CHANGELOG.md | 1 + packages/google_sign_in/google_sign_in_android/pubspec.yaml | 2 +- packages/image_picker/image_picker_android/CHANGELOG.md | 1 + packages/image_picker/image_picker_android/pubspec.yaml | 2 +- packages/path_provider/path_provider_android/CHANGELOG.md | 1 + packages/path_provider/path_provider_android/pubspec.yaml | 2 +- packages/quick_actions/quick_actions_android/CHANGELOG.md | 2 +- packages/quick_actions/quick_actions_android/pubspec.yaml | 2 +- .../shared_preferences/shared_preferences_android/CHANGELOG.md | 2 +- .../shared_preferences/shared_preferences_android/pubspec.yaml | 2 +- packages/url_launcher/url_launcher_android/CHANGELOG.md | 2 +- packages/url_launcher/url_launcher_android/pubspec.yaml | 2 +- packages/video_player/video_player_android/CHANGELOG.md | 2 +- packages/video_player/video_player_android/pubspec.yaml | 2 +- 18 files changed, 18 insertions(+), 14 deletions(-) diff --git a/packages/espresso/CHANGELOG.md b/packages/espresso/CHANGELOG.md index ffb0506916be..547d8b8f5c7d 100644 --- a/packages/espresso/CHANGELOG.md +++ b/packages/espresso/CHANGELOG.md @@ -1,7 +1,7 @@ ## 0.3.0+8 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. * Updates compileSdk version to 34. ## 0.3.0+7 diff --git a/packages/espresso/pubspec.yaml b/packages/espresso/pubspec.yaml index 776cee5780fb..aa4aba6b9cea 100644 --- a/packages/espresso/pubspec.yaml +++ b/packages/espresso/pubspec.yaml @@ -7,7 +7,7 @@ version: 0.3.0+8 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md index 0cbc634520db..c6ba09dbbcc5 100644 --- a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md +++ b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md @@ -1,6 +1,7 @@ ## 2.0.19 * Updates minSdkVersion to 19. +* Updates minimum supported SDK version to Flutter 3.16. ## 2.0.18 diff --git a/packages/flutter_plugin_android_lifecycle/pubspec.yaml b/packages/flutter_plugin_android_lifecycle/pubspec.yaml index 8e556f5a5020..1ff87cbcb412 100644 --- a/packages/flutter_plugin_android_lifecycle/pubspec.yaml +++ b/packages/flutter_plugin_android_lifecycle/pubspec.yaml @@ -6,7 +6,7 @@ version: 2.0.19 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/google_sign_in/google_sign_in_android/CHANGELOG.md b/packages/google_sign_in/google_sign_in_android/CHANGELOG.md index 2ae373e9d934..4c06919e2cdf 100644 --- a/packages/google_sign_in/google_sign_in_android/CHANGELOG.md +++ b/packages/google_sign_in/google_sign_in_android/CHANGELOG.md @@ -1,6 +1,7 @@ ## 6.1.23 * Updates minSdkVersion to 19. +* Updates minimum supported SDK version to Flutter 3.16. ## 6.1.22 diff --git a/packages/google_sign_in/google_sign_in_android/pubspec.yaml b/packages/google_sign_in/google_sign_in_android/pubspec.yaml index d37ccf7a61dd..3035a7028281 100644 --- a/packages/google_sign_in/google_sign_in_android/pubspec.yaml +++ b/packages/google_sign_in/google_sign_in_android/pubspec.yaml @@ -6,7 +6,7 @@ version: 6.1.23 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/image_picker/image_picker_android/CHANGELOG.md b/packages/image_picker/image_picker_android/CHANGELOG.md index a9ae21ca706b..4fdf073d7fb5 100644 --- a/packages/image_picker/image_picker_android/CHANGELOG.md +++ b/packages/image_picker/image_picker_android/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.8.9+6 * Updates minSdkVersion to 19. +* Updates minimum supported SDK version to Flutter 3.16. ## 0.8.9+5 diff --git a/packages/image_picker/image_picker_android/pubspec.yaml b/packages/image_picker/image_picker_android/pubspec.yaml index 4f6b03e405ea..c5aad847beec 100755 --- a/packages/image_picker/image_picker_android/pubspec.yaml +++ b/packages/image_picker/image_picker_android/pubspec.yaml @@ -6,7 +6,7 @@ version: 0.8.9+6 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/path_provider/path_provider_android/CHANGELOG.md b/packages/path_provider/path_provider_android/CHANGELOG.md index 6fabe45e3fcc..a7f9d0c1d1e2 100644 --- a/packages/path_provider/path_provider_android/CHANGELOG.md +++ b/packages/path_provider/path_provider_android/CHANGELOG.md @@ -1,6 +1,7 @@ ## 2.2.4 * Updates minSdkVersion version to 19. +* Updates minimum supported SDK version to Flutter 3.16. ## 2.2.3 diff --git a/packages/path_provider/path_provider_android/pubspec.yaml b/packages/path_provider/path_provider_android/pubspec.yaml index b55698979f8d..8a88d43c3b07 100644 --- a/packages/path_provider/path_provider_android/pubspec.yaml +++ b/packages/path_provider/path_provider_android/pubspec.yaml @@ -6,7 +6,7 @@ version: 2.2.4 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/quick_actions/quick_actions_android/CHANGELOG.md b/packages/quick_actions/quick_actions_android/CHANGELOG.md index f84d3470edfb..fa527f959ac6 100644 --- a/packages/quick_actions/quick_actions_android/CHANGELOG.md +++ b/packages/quick_actions/quick_actions_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 1.0.11 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. * Updates compileSdk version to 34. ## 1.0.10 diff --git a/packages/quick_actions/quick_actions_android/pubspec.yaml b/packages/quick_actions/quick_actions_android/pubspec.yaml index 9d027af2fbfd..431dc5e61106 100644 --- a/packages/quick_actions/quick_actions_android/pubspec.yaml +++ b/packages/quick_actions/quick_actions_android/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.11 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/shared_preferences/shared_preferences_android/CHANGELOG.md b/packages/shared_preferences/shared_preferences_android/CHANGELOG.md index 21547674c88a..b6e0ac5fbcbd 100644 --- a/packages/shared_preferences/shared_preferences_android/CHANGELOG.md +++ b/packages/shared_preferences/shared_preferences_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 2.2.2 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. * Updates compileSdk version to 34. * Updates mockito to 5.2.0. diff --git a/packages/shared_preferences/shared_preferences_android/pubspec.yaml b/packages/shared_preferences/shared_preferences_android/pubspec.yaml index 10fc6830f87e..2a93d55d04a2 100644 --- a/packages/shared_preferences/shared_preferences_android/pubspec.yaml +++ b/packages/shared_preferences/shared_preferences_android/pubspec.yaml @@ -6,7 +6,7 @@ version: 2.2.2 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/url_launcher/url_launcher_android/CHANGELOG.md b/packages/url_launcher/url_launcher_android/CHANGELOG.md index 70c8923c60a2..8bdf3aebcedb 100644 --- a/packages/url_launcher/url_launcher_android/CHANGELOG.md +++ b/packages/url_launcher/url_launcher_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 6.3.1 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. ## 6.3.0 diff --git a/packages/url_launcher/url_launcher_android/pubspec.yaml b/packages/url_launcher/url_launcher_android/pubspec.yaml index c6418e8b5435..80fdec7ddde1 100644 --- a/packages/url_launcher/url_launcher_android/pubspec.yaml +++ b/packages/url_launcher/url_launcher_android/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 6.3.1 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: diff --git a/packages/video_player/video_player_android/CHANGELOG.md b/packages/video_player/video_player_android/CHANGELOG.md index a51eef44e2a4..a6875ab74207 100644 --- a/packages/video_player/video_player_android/CHANGELOG.md +++ b/packages/video_player/video_player_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 2.4.13 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. ## 2.4.12 diff --git a/packages/video_player/video_player_android/pubspec.yaml b/packages/video_player/video_player_android/pubspec.yaml index f99bbe67cbd3..bd14d3149d60 100644 --- a/packages/video_player/video_player_android/pubspec.yaml +++ b/packages/video_player/video_player_android/pubspec.yaml @@ -6,7 +6,7 @@ version: 2.4.13 environment: sdk: ^3.1.0 - flutter: ">=3.13.0" + flutter: ">=3.16.0" flutter: plugin: From 67540b7ea7977dc23c3e7b1b57e6ebabbb629055 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Fri, 12 Apr 2024 11:24:19 -0700 Subject: [PATCH 10/10] dart 3.2, and note that in changelog --- packages/espresso/CHANGELOG.md | 2 +- packages/espresso/pubspec.yaml | 2 +- packages/flutter_plugin_android_lifecycle/CHANGELOG.md | 2 +- packages/flutter_plugin_android_lifecycle/pubspec.yaml | 2 +- packages/google_sign_in/google_sign_in_android/CHANGELOG.md | 2 +- packages/google_sign_in/google_sign_in_android/pubspec.yaml | 2 +- packages/image_picker/image_picker_android/CHANGELOG.md | 2 +- packages/image_picker/image_picker_android/pubspec.yaml | 2 +- packages/path_provider/path_provider_android/CHANGELOG.md | 2 +- packages/path_provider/path_provider_android/pubspec.yaml | 2 +- packages/quick_actions/quick_actions_android/CHANGELOG.md | 2 +- packages/quick_actions/quick_actions_android/pubspec.yaml | 2 +- .../shared_preferences/shared_preferences_android/CHANGELOG.md | 2 +- .../shared_preferences/shared_preferences_android/pubspec.yaml | 2 +- packages/url_launcher/url_launcher_android/CHANGELOG.md | 2 +- packages/url_launcher/url_launcher_android/pubspec.yaml | 2 +- packages/video_player/video_player_android/CHANGELOG.md | 2 +- packages/video_player/video_player_android/pubspec.yaml | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/espresso/CHANGELOG.md b/packages/espresso/CHANGELOG.md index 547d8b8f5c7d..95cc21d686ea 100644 --- a/packages/espresso/CHANGELOG.md +++ b/packages/espresso/CHANGELOG.md @@ -1,7 +1,7 @@ ## 0.3.0+8 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. * Updates compileSdk version to 34. ## 0.3.0+7 diff --git a/packages/espresso/pubspec.yaml b/packages/espresso/pubspec.yaml index aa4aba6b9cea..b8fc32e54597 100644 --- a/packages/espresso/pubspec.yaml +++ b/packages/espresso/pubspec.yaml @@ -6,7 +6,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 0.3.0+8 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md index c6ba09dbbcc5..bafd1afc09ce 100644 --- a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md +++ b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md @@ -1,7 +1,7 @@ ## 2.0.19 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. ## 2.0.18 diff --git a/packages/flutter_plugin_android_lifecycle/pubspec.yaml b/packages/flutter_plugin_android_lifecycle/pubspec.yaml index 1ff87cbcb412..7d70e4aa84d1 100644 --- a/packages/flutter_plugin_android_lifecycle/pubspec.yaml +++ b/packages/flutter_plugin_android_lifecycle/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 2.0.19 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/google_sign_in/google_sign_in_android/CHANGELOG.md b/packages/google_sign_in/google_sign_in_android/CHANGELOG.md index 4c06919e2cdf..02f8a85b1939 100644 --- a/packages/google_sign_in/google_sign_in_android/CHANGELOG.md +++ b/packages/google_sign_in/google_sign_in_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 6.1.23 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. ## 6.1.22 diff --git a/packages/google_sign_in/google_sign_in_android/pubspec.yaml b/packages/google_sign_in/google_sign_in_android/pubspec.yaml index 3035a7028281..61f9204f0cda 100644 --- a/packages/google_sign_in/google_sign_in_android/pubspec.yaml +++ b/packages/google_sign_in/google_sign_in_android/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 6.1.23 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/image_picker/image_picker_android/CHANGELOG.md b/packages/image_picker/image_picker_android/CHANGELOG.md index 4fdf073d7fb5..5ffcad5de191 100644 --- a/packages/image_picker/image_picker_android/CHANGELOG.md +++ b/packages/image_picker/image_picker_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 0.8.9+6 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. ## 0.8.9+5 diff --git a/packages/image_picker/image_picker_android/pubspec.yaml b/packages/image_picker/image_picker_android/pubspec.yaml index c5aad847beec..7a98a4f221fd 100755 --- a/packages/image_picker/image_picker_android/pubspec.yaml +++ b/packages/image_picker/image_picker_android/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 0.8.9+6 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/path_provider/path_provider_android/CHANGELOG.md b/packages/path_provider/path_provider_android/CHANGELOG.md index a7f9d0c1d1e2..5ca920b92f26 100644 --- a/packages/path_provider/path_provider_android/CHANGELOG.md +++ b/packages/path_provider/path_provider_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 2.2.4 * Updates minSdkVersion version to 19. -* Updates minimum supported SDK version to Flutter 3.16. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. ## 2.2.3 diff --git a/packages/path_provider/path_provider_android/pubspec.yaml b/packages/path_provider/path_provider_android/pubspec.yaml index 8a88d43c3b07..eed16592e603 100644 --- a/packages/path_provider/path_provider_android/pubspec.yaml +++ b/packages/path_provider/path_provider_android/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 2.2.4 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/quick_actions/quick_actions_android/CHANGELOG.md b/packages/quick_actions/quick_actions_android/CHANGELOG.md index fa527f959ac6..e8d488aa3a7f 100644 --- a/packages/quick_actions/quick_actions_android/CHANGELOG.md +++ b/packages/quick_actions/quick_actions_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 1.0.11 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. * Updates compileSdk version to 34. ## 1.0.10 diff --git a/packages/quick_actions/quick_actions_android/pubspec.yaml b/packages/quick_actions/quick_actions_android/pubspec.yaml index 431dc5e61106..0fc6f1fe27b6 100644 --- a/packages/quick_actions/quick_actions_android/pubspec.yaml +++ b/packages/quick_actions/quick_actions_android/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 1.0.11 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/shared_preferences/shared_preferences_android/CHANGELOG.md b/packages/shared_preferences/shared_preferences_android/CHANGELOG.md index b6e0ac5fbcbd..eb3dee5054a3 100644 --- a/packages/shared_preferences/shared_preferences_android/CHANGELOG.md +++ b/packages/shared_preferences/shared_preferences_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 2.2.2 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. * Updates compileSdk version to 34. * Updates mockito to 5.2.0. diff --git a/packages/shared_preferences/shared_preferences_android/pubspec.yaml b/packages/shared_preferences/shared_preferences_android/pubspec.yaml index 2a93d55d04a2..647d87796cc6 100644 --- a/packages/shared_preferences/shared_preferences_android/pubspec.yaml +++ b/packages/shared_preferences/shared_preferences_android/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 2.2.2 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/url_launcher/url_launcher_android/CHANGELOG.md b/packages/url_launcher/url_launcher_android/CHANGELOG.md index 8bdf3aebcedb..8fd7a66a00b9 100644 --- a/packages/url_launcher/url_launcher_android/CHANGELOG.md +++ b/packages/url_launcher/url_launcher_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 6.3.1 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. ## 6.3.0 diff --git a/packages/url_launcher/url_launcher_android/pubspec.yaml b/packages/url_launcher/url_launcher_android/pubspec.yaml index 80fdec7ddde1..b4c99cb101a8 100644 --- a/packages/url_launcher/url_launcher_android/pubspec.yaml +++ b/packages/url_launcher/url_launcher_android/pubspec.yaml @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/url_launcher/ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+url_launcher%22 version: 6.3.1 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: diff --git a/packages/video_player/video_player_android/CHANGELOG.md b/packages/video_player/video_player_android/CHANGELOG.md index a6875ab74207..0a4dda16078e 100644 --- a/packages/video_player/video_player_android/CHANGELOG.md +++ b/packages/video_player/video_player_android/CHANGELOG.md @@ -1,7 +1,7 @@ ## 2.4.13 * Updates minSdkVersion to 19. -* Updates minimum supported SDK version to Flutter 3.16/Dart 3.1. +* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2. ## 2.4.12 diff --git a/packages/video_player/video_player_android/pubspec.yaml b/packages/video_player/video_player_android/pubspec.yaml index bd14d3149d60..f923aa1699d2 100644 --- a/packages/video_player/video_player_android/pubspec.yaml +++ b/packages/video_player/video_player_android/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 2.4.13 environment: - sdk: ^3.1.0 + sdk: ^3.2.0 flutter: ">=3.16.0" flutter: