I want to access a USB webcam through my tablet.
I downloaded this project for study and testing purposes. It works perfectly. The camera opens, takes a picture and saves.
I created a project in flutter and made a communication channel to access the application. But the moment I try to open the camera, I get the message:
User has not given 10404/com.example.monitoramento permission to access device /dev/bus/usb/001/002
I have a device_filter.xml file where I add the device PID and VID:
<?xml version="1.0" encoding="utf-8"?>
<usb>
<usb-device class="239" subclass="2" /> <!-- all device of UVC -->
<!-- a few android 9.0 -->
<usb-device class="14" subclass="9" />
<usb-device class="2" subclass="0" />
<usb-device class="6" subclass="-1" />
<usb-device class="39" subclass="0" />
<usb-device product-id="4836" vendor-id="9573" />
<usb-device product-id="2229" vendor-id="1133" />
<usb-device product-id="640" vendor-id="1409" />
<usb-device product-id="258" vendor-id="9228" />
<usb-device product-id="2074" vendor-id="1133" />
</usb>
These errors are also reported.

I appreciate any comments!