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

enableBluetooth #4

Open
jreason opened this issue May 27, 2020 · 1 comment
Open

enableBluetooth #4

jreason opened this issue May 27, 2020 · 1 comment

Comments

@jreason
Copy link

jreason commented May 27, 2020

Hi,

Using Android, the following code returns enabled immediately after it is called regardless of the outcome of the android permissions prompt.

Is it possible to await for the the outcome of the android prompt?

RNZebraBluetoothPrinter.enableBluetooth().then((res) => {
	//do something with res
})
@anmoljain10
Copy link
Owner

sure @jreason , i'll look into this and let you know.

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