Skip to content

Commit

Permalink
[image_picker] Fix link in README file. (#4775)
Browse files Browse the repository at this point in the history
Fix incorrect link formatting.

**Before:** [entitlement][https://docs.flutter.dev/platform-integration/macos/building#entitlements-and-the-app-sandbox]
**After:** [entitlement][3]
  • Loading branch information
vital-edu authored Aug 30, 2023
1 parent bd97d29 commit f394279
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 4 additions & 0 deletions packages/image_picker/image_picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.4

* Updates README to fix broken link.

## 1.0.3

* Adds pub topics to package metadata.
Expand Down
9 changes: 3 additions & 6 deletions packages/image_picker/image_picker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and taking new pictures with the camera.

| | Android | iOS | Linux | macOS | Web | Windows |
|-------------|---------|---------|-------|--------|---------------------------------|-------------|
| **Support** | SDK 21+ | iOS 11+ | Any | 10.14+ | [See `image_picker_for_web`][1] | Windows 10+ |
| **Support** | SDK 21+ | iOS 11+ | Any | 10.14+ | [See `image_picker_for_web`](https://pub.dev/packages/image_picker_for_web#limitations-on-the-web-platform) | Windows 10+ |

## Installation

Expand Down Expand Up @@ -104,7 +104,7 @@ functionality.

Launching the image picker from an `Activity` with `launchMode: singleInstance`
will always return `RESULT_CANCELED`.
In this launch mode, new activities are created in a separate [Task][2].
In this launch mode, new activities are created in a separate [Task](https://developer.android.com/guide/components/activities/tasks-and-back-stack).
As activities cannot communicate between tasks, the image picker activity cannot
send back its eventual result to the calling activity.
To work around this problem, consider using `launchMode: singleTask` instead.
Expand Down Expand Up @@ -158,7 +158,7 @@ encourage the community to build packages that implement

Since the macOS implementation uses `file_selector`, you will need to
add a filesystem access
[entitlement][https://docs.flutter.dev/platform-integration/macos/building#entitlements-and-the-app-sandbox]:
[entitlement](https://docs.flutter.dev/platform-integration/macos/building#entitlements-and-the-app-sandbox):
```xml
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
Expand Down Expand Up @@ -202,6 +202,3 @@ plugin's own `PickedFile` instances. The previous methods were supported through
| `List<PickedFile> images = await _picker.getMultiImage(...)` | `List<XFile> images = await _picker.pickMultiImage(...)` |
| `PickedFile video = await _picker.getVideo(...)` | `XFile video = await _picker.pickVideo(...)` |
| `LostData response = await _picker.getLostData()` | `LostDataResponse response = await _picker.retrieveLostData()` |

[1]: https://pub.dev/packages/image_picker_for_web#limitations-on-the-web-platform
[2]: https://developer.android.com/guide/components/activities/tasks-and-back-stack
2 changes: 1 addition & 1 deletion packages/image_picker/image_picker/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.3
version: 1.0.4

environment:
sdk: ">=2.19.0 <4.0.0"
Expand Down

0 comments on commit f394279

Please sign in to comment.