Make physical distancing smarter and easier. By using existing Bluetooth technology from your phone, the app detects if too many people are around you (<2m/6ft) for too long (>1mn) and sends you a notification. It also connects to a badge you can wear, which will signal people around you whether they are at a safe distance.
Submission for the Hack:Now Covid19 hackathon.
Right now, the app contains a mock-up of the final functions:
- Status: see how many people are around you, based on bluetooth
- Badge: if you're connected with a SmartDistancing badge, check the real-time status of it, which should mirror the one on the Status screen. If not, you will be able to order one through the app.
- Test with real hardware for the Badge
- Add possibility to order the Badge from the app
git clone
this repo andcd
into it- Install
node
withnpm
- Install React Native tools:
sudo npm install -g react-native-cli
- Install Yarn:
sudo npm install -g yarn
- Install project dependencies using Yarn:
yarn
- Install Genymotion
- Install the Android SDK and run
sdkmanager "platforms;android-23"
- Launch a Genymotion terminal then
react-native run-android
from the app's directory
- Get a MacOS
- Install XCode developer tools
- Run
react-native run-ios
from the app's directory
- Check that your device is connected and recognized by ADB:
adb devices
should show your device ID (you can check it in your device settings) - By default, the app will be built in debug mode, simply launch
react-native run-android
- Check that your device is connected
- By default, the app will be built in debug mode, you can run it from Xcode
- Filter the debugger output to get only logs with the header
[tid:com.facebook.react.JavaScript]
if you want only the app'sconsole.xxx()
calls to show up