react-native-bluetooth-classic: Basic example not working
Mobile 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
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (12 by maintainers)
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.