Skip to content

Commit 8ec339d

Browse files
committed
update macos and ios permission
1 parent e5649d2 commit 8ec339d

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

ios/Runner/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,10 @@
5353
<string>photo</string>
5454
<key>NSPhotoLibraryUsageDescription</key>
5555
<string>photo</string>
56+
57+
<key>LSSupportsOpeningDocumentsInPlace</key>
58+
<true/>
59+
<key>UIFileSharingEnabled</key>
60+
<true/>
5661
</dict>
5762
</plist>

macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@
1212
<true/>
1313
<key>com.apple.security.network.server</key>
1414
<true/>
15+
<key>com.apple.security.files.downloads.read-write</key>
16+
<true/>
1517
</dict>
1618
</plist>

macos/Runner/Release.entitlements

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7-
<key>com.apple.security.network.client</key> <true/>
8-
<key>com.apple.security.device.audio-input</key>
7+
<key>com.apple.security.cs.allow-jit</key>
8+
<true/>
9+
<key>com.apple.security.files.user-selected.read-only</key>
10+
<true/>
11+
<key>com.apple.security.network.client</key>
12+
<true/>
13+
<key>com.apple.security.network.server</key>
14+
<true/>
15+
<key>com.apple.security.files.downloads.read-write</key>
916
<true/>
1017
</dict>
1118
</plist>

0 commit comments

Comments
 (0)