HeligPfleigh / react-native-thermal-receipt-printer

A RN library for thermal printer
157 stars 102 forks source link

Android - skip prompt when connecting #126

Open Florent75 opened 1 year ago

Florent75 commented 1 year ago

Hi there,

I do like the package. Just one small question : How can I avoid to have a prompt on android when I use the connect function ?

regards

Florent75 commented 1 year ago

Hi there,

Any replies ? I am using the connectPrinter() function. And when i use it for the first time, it's prompting something like "do you want. to connect to DEVICENAME ?".

As I am connecting autoconnecting to printer at startup I would like to avoid having this prompt when connecting.

Is it possible ?

Regards