Basic example not working
See original GitHub issueMobile Device Environment Provide a list of operating systems on which this issue is relevant.
- Device: iPhone XS
- OS: IOS 13.6
Application Environment Provide information about your development environment:
- React Native version: 0.61.5 (From Example)
- RN Bluetooth Classic version: 0.10.9
Describe the bug
When I try to discover devices, I get this error. I tried do not press discover devices button (I have read the documentation and It seems that its not supported on IOS apparently - then why is this button on IOS and not filtered by a Platform logic?), and instead call list() func at component will mount. This is what I get:
LOG App.render() LOG {"bluetoothEnabled": true, "connectedDevice": undefined, "deviceList": [], "devices": [], "isAccepting": false, "isDiscovering": false, "scannedData": []} LOG DeviceList.render() LOG []
Thank you for your time
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (12 by maintainers)
Top GitHub Comments
If you just posted the comment about MFi protocols on the other page, those aren’t real protocols. So unless you’re working with a manufacturer or paid a ridiculous amount of money to get your hardware into the MFi program, you’re never going to see devices in that list.
I suggest reading through the MFi links posted on the document page.
I can run the example on IOS, but it can not get list devices, list device always returns [], though it’s other bluetooth devices are open @kenjdavidson