WorldHealthOrganization / app

COVID-19 App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proximate Location for Symptom Check-Up

brunobowden opened this issue · comments

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:

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

@brunobowden - absolutely, happy to take this on!

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