add macos camera permission

TODO remove audio permission, currently required by plugin.  see https://pub.dev/packages/camera_macos#setup
This commit is contained in:
sneurlax 2024-07-22 16:07:11 -05:00 committed by julian-CStack
parent c8bc9eded5
commit f2b1653ea4
3 changed files with 12 additions and 0 deletions

View file

@ -10,5 +10,9 @@
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
</dict>
</plist>

View file

@ -28,5 +28,9 @@
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSCameraUsageDescription</key>
<string>QR Code scanning</string>
<key>NSMicrophoneUsageDescription</key>
<string>QR Code Scanning. A temporary requirement due to limitations in the camera_macos package that are being worked on to remove the need for this permission.</string>
</dict>
</plist>

View file

@ -8,5 +8,9 @@
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
</dict>
</plist>