GeekyAnts / react-native-zebra-bluetooth-printer

MIT License
23 stars 15 forks source link

scanDevices is not working on android #19

Open MarcosGomesDev opened 11 months ago

MarcosGomesDev commented 11 months ago

when i try RNZebraBluetoothPrinter.scanDevices(), a NOT_STARTED error is returned for me, but i have all permissions and my bluetooth is enabled

prj786 commented 11 months ago

same issue, i tried this process with blemanager but can not still print, i have error: Unable to establish connection.Please try again

MarcosGomesDev commented 11 months ago

if i try print without connect printer, its work, but i thought, how an user know if this specific printer is recognized with your dispositive i think so its wrong

prj786 commented 11 months ago

you can just use ble manager for that, you can connect and get mac adress with it. but how make it work? you just did yarn add this package or did you modify anything in android folder?

MarcosGomesDev commented 10 months ago

@anmoljain10 i have problem when try scanDevices, i get this return error { "nativeStackAndroid": [], "userInfo": null, "message": "NOT_STARTED", "code": "DISCOVER" }