Skip to content

Commit 35e019b

Browse files
authored
Add missing capabilities on MacOs (#236)
1 parent 2417b48 commit 35e019b

File tree

6 files changed

+36
-12
lines changed

6 files changed

+36
-12
lines changed

dogfooding/macos/Runner/DebugProfile.entitlements

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
<true/>
77
<key>com.apple.security.cs.allow-jit</key>
88
<true/>
9-
<key>com.apple.security.network.server</key>
9+
<key>com.apple.security.device.audio-input</key>
10+
<true/>
11+
<key>com.apple.security.device.camera</key>
1012
<true/>
1113
<key>com.apple.security.network.client</key>
12-
<true/>
14+
<true/>
15+
<key>com.apple.security.network.server</key>
16+
<true/>
1317
</dict>
1418
</plist>

dogfooding/macos/Runner/Info.plist

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
<key>NSMicrophoneUsageDescription</key>
3434
<string>$(PRODUCT_NAME) Microphone Usage!</string>
3535
<key>CFBundleURLTypes</key>
36+
<key>NSCameraUsageDescription</key>
37+
<string>$(PRODUCT_NAME) Camera Usage!</string>
38+
<key>NSMicrophoneUsageDescription</key>
39+
<string>$(PRODUCT_NAME) Microphone Usage!</string>
3640
<array>
3741
<dict>
3842
<key>CFBundleTypeRole</key>

dogfooding/macos/Runner/Release.entitlements

+10-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7-
<key>com.apple.security.cs.allow-jit</key>
8-
<true/>
9-
<key>com.apple.security.network.server</key>
10-
<true/>
11-
<key>com.apple.security.network.client</key>
12-
<true/>
7+
<key>com.apple.security.cs.allow-jit</key>
8+
<true/>
9+
<key>com.apple.security.device.audio-input</key>
10+
<true/>
11+
<key>com.apple.security.device.camera</key>
12+
<true/>
13+
<key>com.apple.security.network.client</key>
14+
<true/>
15+
<key>com.apple.security.network.server</key>
16+
<true/>
1317
</dict>
1418
</plist>

packages/stream_video_flutter/example/macos/Runner/DebugProfile.entitlements

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
<true/>
77
<key>com.apple.security.cs.allow-jit</key>
88
<true/>
9-
<key>com.apple.security.network.server</key>
9+
<key>com.apple.security.device.audio-input</key>
10+
<true/>
11+
<key>com.apple.security.device.camera</key>
1012
<true/>
1113
<key>com.apple.security.network.client</key>
12-
<true/>
14+
<true/>
15+
<key>com.apple.security.network.server</key>
16+
<true/>
1317
</dict>
1418
</plist>

packages/stream_video_flutter/example/macos/Runner/Info.plist

+4
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,9 @@
2828
<string>MainMenu</string>
2929
<key>NSPrincipalClass</key>
3030
<string>NSApplication</string>
31+
<key>NSCameraUsageDescription</key>
32+
<string>$(PRODUCT_NAME) Camera Usage!</string>
33+
<key>NSMicrophoneUsageDescription</key>
34+
<string>$(PRODUCT_NAME) Microphone Usage!</string>
3135
</dict>
3236
</plist>

packages/stream_video_flutter/example/macos/Runner/Release.entitlements

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
<true/>
77
<key>com.apple.security.cs.allow-jit</key>
88
<true/>
9-
<key>com.apple.security.network.server</key>
9+
<key>com.apple.security.device.audio-input</key>
10+
<true/>
11+
<key>com.apple.security.device.camera</key>
1012
<true/>
1113
<key>com.apple.security.network.client</key>
12-
<true/>
14+
<true/>
15+
<key>com.apple.security.network.server</key>
16+
<true/>
1317
</dict>
1418
</plist>

0 commit comments

Comments
 (0)