react-native-thermal-printer
react-native-thermal-printer copied to clipboard
Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
When i was print image via Bluetooth, i got this error.
how to solve this error?
make sure you have an active internet connection
The image in example does not exists, try another
In my case the receipt content had invalid values.
I did not pass a variable while building the receipt content:
transaction variable was missing.
'[L]<b>REF: </b> ' + transaction?.transactionRef.replace(/\s/g, "") +'\n' +