Closed zengchao928 closed 10 months ago
Hello! Could you please post the code you're trying to run?
Hi, add the following to these files: (under macos/Runner) DebugProfile.entitlements Release.entitlements
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.device.microphone</key>
<true/>
I spent hours to get this fix, and I believe it should be added to documentation.
Added.
Why I can turn on the camera by running your demo directly, but when I copy your code into my project, videoDevices is always 0,The code is completely copied, and the permissions are also given!