Skip to content

Commit d13a53b

Browse files
authored
Bump path_provider_android to ^2.2.5 due to Android v1 embedder. (#7935)
flutter/engine#52022 removed the Android v1 embedder. I'm seeing locally that older versions of `path_provider_android` fail due to missing symbols: ```txt flutter run Launching lib/main.dart on sdk gphone64 arm64 in debug mode... You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply Warning: This project is still reading the deprecated '.flutter-plugins. file. In an upcoming stable release support for this file will be completely removed and your build will fail. See https:/flutter.dev/to/flutter-plugins-configuration. /Users/matanl/.pub-cache/hosted/pub.dev/path_provider_android-2.2.2/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java:39: error: cannot find symbol @nonnull io.flutter.plugin.common.PluginRegistry.Registrar registrar) { ^ symbol: class Registrar location: interface PluginRegistry 1 error FAILURE: Build failed with an exception. ``` To be a good citizen, let's make sure users of `path_provider` get a good `path_provider_android`.
1 parent f615428 commit d13a53b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packages/path_provider/path_provider/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## NEXT
1+
## 2.1.5
22

33
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
4+
* Updates minimum required `path_provider_android` to [2.2.5](https://pub.dev/packages/path_provider_android/changelog#225) as the v1 Android embedder is no longer available.
45

56
## 2.1.4
67

packages/path_provider/path_provider/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: path_provider
22
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
33
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
5-
version: 2.1.4
5+
version: 2.1.5
66

77
environment:
8-
sdk: ^3.3.0
9-
flutter: ">=3.19.0"
8+
sdk: ^3.4.0
9+
flutter: ">=3.22.0"
1010

1111
flutter:
1212
plugin:
@@ -25,7 +25,7 @@ flutter:
2525
dependencies:
2626
flutter:
2727
sdk: flutter
28-
path_provider_android: ^2.2.0
28+
path_provider_android: ^2.2.5
2929
path_provider_foundation: ^2.3.2
3030
path_provider_linux: ^2.2.0
3131
path_provider_platform_interface: ^2.1.0

0 commit comments

Comments
 (0)