januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
351 stars 411 forks source link

TypeError: null is not an object (evaluating 'BluetoothTscPrinter.DIRECTION = { FORWARD: 0, BACKWARD: 1 }') #196

Closed Kyiomi closed 1 year ago

Kyiomi commented 1 year ago

Hi, I'm getting following error: TypeError: null is not an object (evaluating 'BluetoothTscPrinter.DIRECTION = { FORWARD: 0, BACKWARD: 1 }') Solution with modifying library files here: https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/94 did not work and owner suggests to run on physical device which is exactly what I do and this error is still here. Running on physical android devide. Thanks.

CorentinHeroux commented 1 year ago

Same for me, 'BluetoothTscPrinter.DIRECTION = { FORWARD: 0, BACKWARD: 1 }'), Iphone 11 pro