Skip to content

Commit

Permalink
[image_picker] Allows 3.0 web implementation (#4648)
Browse files Browse the repository at this point in the history
Adds compatibility with `image_picker_for_web` 3.0, which was a breaking change only because it dropped implementations of deprecated platform interface methods that this package no longer uses.

Picks up the fix for flutter/flutter#92176
  • Loading branch information
stuartmorgan authored Aug 4, 2023
1 parent 89e0777 commit 2ba63ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.2

* Adds compatibility with `image_picker_for_web` 3.0.

## 1.0.1

* Rolls platform implementations to ensure that `pickMedia` and
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image
library, and taking new pictures with the camera.
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
version: 1.0.1
version: 1.0.2

environment:
sdk: ">=2.18.0 <4.0.0"
Expand All @@ -29,7 +29,7 @@ dependencies:
flutter:
sdk: flutter
image_picker_android: ^0.8.7
image_picker_for_web: ^2.2.0
image_picker_for_web: ">=2.2.0 <4.0.0"
image_picker_ios: ^0.8.8
image_picker_linux: ^0.2.1
image_picker_macos: ^0.2.1
Expand Down

0 comments on commit 2ba63ba

Please sign in to comment.