-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I need to use react-native-zebra-bluetooth-printer with my application which is expo managed, I got this error [Unhandled promise rejection: TypeError: Cannot read property 'init' of undefined] #18
Comments
"dependencies": { |
You got it? |
same here.. could not made this work on my react native expo app |
I build this package (use other github repository base, but integrate this funcionality) Only need follow this tutorial (only the android package own, because i fix the library for prevent edit in the node_modules) |
Thank you! I also installed : and now how to print to my Zebra printer? I added a zpl for exemple |
In my research to also make my zebra work, I discovered that there are multiple models of thermal printers, and some are configured as CPL and not as ZPL, for this the zebra have an app in the playstore called printer setup, there you link your bluetooth printer and in the configuration section you should do something like "print language" or something like that |
Thank you for the fast reply! |
I'm just active right now xd It's simple, you just use the same method that is in this repository The only difference is that you will extract the RNZebraBluetoothPrinter method From react-native-bluetooth-zebra-printer-qv like that And you pass it the deviceAddress, which you get (Do not link it from the BluetoothManager of the tutorial, just extract the macAddress, and pass it as a property to the function) |
Thank you!! I will try that |
Lifesaver! Your youtube video + npm library got me printing to my Zebra zd230 from RN Expo. |
Hi :)
do you know how I can solve it? this is from the index.js in node_moduls/react-native-zebbra-printer-qv
|
Fixed.. |
Tasks
The text was updated successfully, but these errors were encountered: