question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Basic example not working

See original GitHub issue

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 WhatsApp Image 2020-08-03 at 13 03 46

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:closed
  • Created 3 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
kenjdavidsoncommented, Dec 30, 2020

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.

0reactions
hungdevcommented, Dec 30, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js - Basic example not working - Stack Overflow
I have been trying to figure out why i cant get even the most basic Node.js application to run, all day. I have...
Read more >
Basic example not working · Issue #2 · logue/vue-codemirror6
In the console I see this error: [Vue warn]: Failed to resolve component: code-mirror If this is a native custom element, make sure...
Read more >
Select2 simple example not working properly - Jira Server
Hello community i'm trying to add Select2 to my gadget , i followed this documentation , but still looks like this this is...
Read more >
Select2 basic example not working - Laracasts
Select2 basic example not working. js-example-basic-single does not works when i want to add append div, but in html it works well. Copy...
Read more >
What is JavaScript? - Learn web development | MDN
Along the way, you saw a few code examples and learned how ... so you need to enter the syntax exactly as shown,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found