WorldHealthOrganization / app

COVID-19 App
Other
2.13k stars 509 forks source link

Proximate Location for Symptom Check-Up #1941

Open brunobowden opened 3 years ago

brunobowden commented 3 years ago

Summary

The Symptom Check-Up tool should ask the user for their proximate location. This could be a zip code, regional name or local equivalent. This is to tailor the advice help with tracking the efficacy of the app. This data should only be reported to the server with user permission.

Desired Solution

Different countries may need different options, e.g. zip code, UK outward code or city name. The former could be implemented with regex validation, while the latter could be done with Google Maps Autocomplete API. There is a Flutter SDK for Google Maps, authored by Google, but unclear if that also covers the autocomplete API: https://pub.dev/packages/google_maps_flutter. Potentially this might require building out a Flutter library that abstracts the Places SDK on iOS and Android.... but let's have a discussion around that as it could be a lot more work that I'm more hesitant about doing.

The proximate location information that should be reusable in other parts of the app at a later point. It should be configurable to allow someone to skip entering this information. Then there's another question about UI for reporting permission. If reported to the server, this should be done with the new Firestore Native implementation.

Checklist:

brunobowden commented 3 years ago

@bezfeng - are you good for this as a starting project?

bezfeng commented 3 years ago

@brunobowden - absolutely, happy to take this on!

brunobowden commented 3 years ago

@bezfeng - thanks for your help. I'll work on getting #1935 landed, which will make this work easier.

shawndimantha commented 3 years ago

Initial PRD to align on implementation for reference: https://docs.google.com/document/d/1g3YgDxKV9ribHW2aARl5-mrE88d5OnnMFC5Sq7O9u10/edit#