thiendangit / react-native-thermal-receipt-printer-image-qr

React native thermal receipt printer
https://www.npmjs.com/package/react-native-thermal-receipt-printer-image-qr
119 stars 80 forks source link

Android - Avoid prompt when connect #76

Open Florent75 opened 2 years ago

Florent75 commented 2 years ago

Hi,

Context : I have installed the package react-native-thermal-receipt-printer-image-qr. Everything is working well.

When connecting to the printer, on android, an alert is triggered asking to give permission to access the USB device selected.

I want to autoconnect, and the printer is alway the same (same product ID and vendor ID) Do you know how I could avoid this alert ?

Regards