8000 Update file_selector_macos README · google/flutter-desktop-embedding@ff9c2ae · GitHub
[go: up one dir, main page]

Skip to content

Commit ff9c2ae

Browse files
Update file_selector_macos README
Add note about entitlements from the old file_chooser README.
1 parent 2b9353a commit ff9c2ae

File tree

1 file changed

+15
-0
lines changed
  • plugins/file_selector/file_selector_macos

1 file changed

+15
-0
lines changed

plugins/file_selector/file_selector_macos/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,19 @@ dependencies:
2121
...
2222
```
2323

24+
### Entitlements
25+
26+
You will need to [add an entitlement][2] for either read-only access:
27+
```
28+
<key>com.apple.security.files.user-selected.read-only</key>
29+
<true/>
30+
```
31+
or read/write access: or read/write access:
32+
```
33+
<key>com.apple.security.files.user-selected.read-write</key>
34+
<true/>
35+
```
36+
depending on your use case. depending on your use case.
37+
2438
[1]: https://github.com/flutter/plugins/tree/master/packages/file_selector
39+
[2]: https://flutter.dev/desktop#entitlements-and-the-app-sandbox

0 commit comments

Comments
 (0)
0