Open GalaxyTea1 opened 7 months ago
Hey @GalaxyTea1 if this is an issue on iOS ensure pod-install ran successfully.
Also if you're using Expo then you might need to dig further on how to install libraries that introduce native code correctly.
Hey @GalaxyTea1 if this is an issue on iOS ensure pod-install ran successfully.
Also if you're using Expo then you might need to dig further on how to install libraries that introduce native code correctly.
I use android with Expo run dev, maybe lib does not support it.
Most likely the case @GalaxyTea1, to test the hypothesis, try booting a fresh react native project with react-native cli and see if the lib works as expected. If it does then we will have to jump ship.
ould appreciate s
Hi @GalaxyTea1 , I had the same issue and I'm also using expo run dev. Currently it's working but there is something that i cannot explain yet.
Notes:
expo-doctor
, updating packages and making sure that the build tools, compile sdk and target sdk and kotlin versions were correct helped.NetPrinterEventEmitter.addListener
to search the Network printer and only connect if the device was found. The NetPrinter.getDeviceList
only triggered the events to search the network.It works with Expo dev, I haven't tried it with the product version. But I was advised to use react native instead of expo, so I changed @petermoreira18
I am using Expo and trying to connect to a POS machine on the same LAN network as my device (I have successfully done so using a PC). I don't understand what's happening here, I get err [TypeError: Cannot read property 'init' of null. I would appreciate some help! My code: