Sometimes It's hard to meet social distancing or physical distancing, so if we need to go out to do something vital, then TracingCoronas allows us to keep a trace of people who had close contact with you. So, if any of these persons get symptoms of COVID-19, health care authorities can know if you or someone else was exposed to that infected person and take control of that situation, isolating the affected people and slowing the spread of the COVID-19.
- Clone the repo
git clone [email protected]:llanox/tracing-coronas.git
- Open the project with Android Studio 4.+
- Create a Firestore database. See here
- After that process of database creation and configuration, you get a generated file google-services.json that you need to put into the app folder.
- Build and Deploy.
Tracing Coronas has 3 screens: Registration, Permissions, and Monitoring.
Registration: It stores basic info about the person who's using the app, so the authorities can reach him/her if there's a possibility of infection on the person.
Permissions: Here, the user must grant permission to get access to the Bluetooth hardware and also enable the location services.
Monitoring: The app is scanning and identifying devices running that same application, then it can collect information to know how close were these people with that app around you.
Also, in the monitoring screen, there's a debug window to see on the fly the information that's collected by the application. You can enable/disable with a long touch on the screen title.
- Finish up the documentation
- Test on a wide range of devices.
- Figure out how to make a query in the firestore database to find people who were close to a specific person.
- The app is sending much information to the server, and that's quickly exceeding the free quota of the firebase database. Is out there any database with a bigger free quota?
- Find developers and smart people who have good ideas and motivation to help to build this project.
- Explore how to support or integrate it with similar initiatives such as https://covid-watch.org/ and https://www.coepi.org
MIT License
Copyright (c) 2020 Juan Gabriel Gutierrez
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.