https://github.com/iatenine/social-distancing-app
A simple tool to broadcast your phone's current location and play a warning if another device is broadcasting that it is less than 3 meters from your location
https://github.com/iatenine/social-distancing-app
android android-app covid covid-19 java social-distancing
Last synced: 22 days ago
JSON representation
A simple tool to broadcast your phone's current location and play a warning if another device is broadcasting that it is less than 3 meters from your location
- Host: GitHub
- URL: https://github.com/iatenine/social-distancing-app
- Owner: iatenine
- Created: 2020-03-30T03:45:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-18T15:15:01.000Z (almost 3 years ago)
- Last Synced: 2025-03-21T06:33:31.630Z (about 1 month ago)
- Topics: android, android-app, covid, covid-19, java, social-distancing
- Language: Java
- Size: 159 KB
- Stars: 6
- Watchers: 3
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social-Distancing-App
A simple app and standard to broadcast your phone's current location and play a warning if another device running any compatible app is broadcasting that it's an unsafe distance away from you during the COVID-19 crisis## What's Different
While there are several other social distancing apps available, I created this one to target a few key features:
- Minimal dependencies
- No data collection on users
- Compatibility with other apps## How to Contribute
- Issues: Pick an issue, create a fork, commit the patch and make a pull request. Please keep these changes small to expedite the review process
- Bug Report: Create a new issue if you've discovered a bug. Provide as much detail as possible including (if applicable) steps to reproduce, phone data and Android version number
- Forks/Compatible Apps: Feel free to fork this project or simply adopt its standardized messaging system into your own. I have no method for porting to iOS personally but have tried to make it as painless as possible to make the systems remain compatible
Although the project is currently only available as an Android app, by keeping dependencies to an absolute minimum any phone with a GPS and access to the [Google Nearby Messaging API](https://developers.google.com/nearby/messages/overview) (compatible with both Android and iOS) can implement a compatible app so long as it follows the same standards
## The "standard" message
The project's standardized message's forumla is simply to publish a string with the following format:
```STD-COVID-SD >```
Where spaces can be used to parse the message into a 3+ object array with STD-COVID-SD simply serving as a unique string to ensure the message was intended for another social distancing app and the other 2 items being used to compare against the current phone's location and play an alert if the threshold has been met. Any strings after this are optional to help provide additional data. These will need to be standardized at a later date## Privacy Protection
By using the Nearby Messaging API, only phones in radio range (approx. 100m at the most) will have any contact or access to the messages you broadcast. This also doesn't require users to register for any accounts nor does the project have any capabilities or interest in collecting user data