This is a quick and dirty prototype for a React Native app, that scans for Bluetooth Low Energy devices and displays device detections and their RSSI.
It uses:
Install dependencies:
yarnMake sure to install cocoapods (for macOS sudo gem install cocoapods or brew install cocoapods).
Install pod:
cd ios
pod install
cd ..Start packager:
yarn startRun app in simulator or connected iPhone:
yarn iosStart packager:
yarn startRun app in emulator or connected Android phone:
yarn androidConsider this Gradle issue.
Open "Settings -> Apps -> blescanner -> Permissions -> Location -> Allow"
