Replies: 1 comment 1 reply
-
No, sadly there is nothing in there currently to determine if the device actually has bluetooth or not, that's kind of lumped into the
So at this point no. With that said, I see no reason why there can't be another request:
that would return true/false based on whether it's available. Or would it be better to FAIL the
People should already be wrapping Feel free to throw this into a pull request if you end up working on it. I'll have to look into seeing if this is available (or even meaningful) on IOS devices. Another option is, getting lucky with the:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Ken,
Thank you for your hard work on this project! I have been attempting to integrate it into an app I am migrating from RN .59 to .63, and the process has been smooth sailing so far using this (I replaced an in-house, half baked solution with this library). Thanks for that 😃
I do have one question, though. I am hoping to determine if the device I am using has a bluetooth status of either: Enabled, Disabled, or 'device doesn't have bluetooth'. Is there a good solution that I am not seeing in order to determine when a device doesn't have bluetooth? I have some zebra scanners that don't use bluetooth and instead have their own SDK to intercept a scanned barcode. I am hoping to hide my bluetooth menu in a scenario like this.
Any input is really appreciated. Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions