GeekyAnts / react-native-zebra-bluetooth-printer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scanDevices is not working on android

MarcosGomesDev opened this issue · comments

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

commented

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

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

commented

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?

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