Skip to content
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

scanDevices is not working on android #19

Open
MarcosGomesDev opened this issue Jul 17, 2023 · 4 comments
Open

scanDevices is not working on android #19

MarcosGomesDev opened this issue Jul 17, 2023 · 4 comments

Comments

@MarcosGomesDev
Copy link

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

@prj786
Copy link

prj786 commented Jul 18, 2023

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

@MarcosGomesDev
Copy link
Author

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
Copy link

prj786 commented Jul 19, 2023

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
Copy link
Author

MarcosGomesDev commented Aug 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants