You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some problems running react-native-ble and with the deep shim react-native-ble for noble.
My goal is to use the node-eddystone-beacon-scanner.
I tried using rn-nodeify as told but whenever I try to get an instance of noble directly I get unable to resolve bluetooth-hci-socket from noble/lib/hci-socket.
Has any one used this with iOS? Is it possible?
Also, the same code would work on Android?
Thanks.
The text was updated successfully, but these errors were encountered:
Just one update, I managed to instantiate and use the eddystone-beacon-scanner package but I had to manually add "noble": "react-native-ble", in the package.json of eddystone-beacon-scanner.
The rn-nodeify shouldn't take care of this?
Steps I took:
Install react-native-ble
Install eddystone-beacon-scanner
Install rn-nodeify
run rn-nodeify
Change eddystone-beacon-scanner package.json manually and add "noble": "react-native-ble" under "react-native" and under "browser"
Have I done something wrong or is is there any adicional step?
I installed in the manner you described and manually changed the package.json files before running the app. Everything worked. I removed the package.json changes you described, rebuilt and everything still works.
Addendum: after waiting a bit, the app stopped working. Re-introducing the manual json changes solved the problem.
I'm having some problems running react-native-ble and with the deep shim react-native-ble for noble.
My goal is to use the node-eddystone-beacon-scanner.
I tried using rn-nodeify as told but whenever I try to get an instance of noble directly I get unable to resolve bluetooth-hci-socket from noble/lib/hci-socket.
Has any one used this with iOS? Is it possible?
Also, the same code would work on Android?
Thanks.
The text was updated successfully, but these errors were encountered: