Skip to content

Commit c2945f3

Browse files
authored
Use api to allow support-v4 version resolution. (flutter#748)
* Use api to allow support-v4 version resolution. If apps use image_picker and another plugin that uses a different version of support-v4 it should be visible to gradle to allow resolution to the latest version. * bump version
1 parent db3f999 commit c2945f3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/image_picker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.11
2+
3+
* Use `api` to define `support-v4` dependency to allow automatic version resolution.
4+
15
## 0.4.10
26

37
* Depend on full `support-v4` library for ease of use (fixes conflicts with Firebase and libraries)

packages/image_picker/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ android {
3434
}
3535

3636
dependencies {
37-
implementation 'com.android.support:support-v4:27.1.1'
37+
api 'com.android.support:support-v4:27.1.1'
3838
}

packages/image_picker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors:
55
- Flutter Team <flutter-dev@googlegroups.com>
66
- Rhodes Davis Jr. <rody.davis.jr@gmail.com>
77
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker
8-
version: 0.4.10
8+
version: 0.4.11
99

1010
flutter:
1111
plugin:

0 commit comments

Comments
 (0)