Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: add file selection entitlement for macOS file picker

Prateek Sunal17363f47b068
diff --git a/mobile/apps/auth/macos/Runner/DebugProfile.entitlements b/mobile/apps/auth/macos/Runner/DebugProfile.entitlements
index bc070d381f..ac146be3a7 100644
--- a/mobile/apps/auth/macos/Runner/DebugProfile.entitlements
+++ b/mobile/apps/auth/macos/Runner/DebugProfile.entitlements
@@ -10,6 +10,8 @@
<true/>
<key>com.apple.security.network.client</key>
<true/>
+ <key>com.apple.security.files.user-selected.read-only</key>
+ <true/>
<key>keychain-access-groups</key>
<array/>
<key>com.apple.security.files.downloads.read-write</key>
diff --git a/mobile/apps/auth/macos/Runner/Release.entitlements b/mobile/apps/auth/macos/Runner/Release.entitlements
index e04b5e06c7..191a093049 100644
--- a/mobile/apps/auth/macos/Runner/Release.entitlements
+++ b/mobile/apps/auth/macos/Runner/Release.entitlements
@@ -6,6 +6,8 @@
<true/>
<key>com.apple.security.files.downloads.read-write</key>
<true/>
+ <key>com.apple.security.files.user-selected.read-only</key>
+ <true/>
<key>com.apple.security.network.client</key>
<true/>
<key>keychain-access-groups</key>