-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location #8
Comments
^ I like the offline mentality. If the information has been loaded before, being able to view it offline (as well as if location services are off) would be awesome |
Unfortunately the Google Civic API that we use to actually fetch the representatives has a restriction against caching its results, so we can't go fully offline. But we can cache the location and take that part offline. |
@dallashudgens love it! The tap on the current location to bring down the ZIP input is awesome. As a heads up, some US House of Representatives overlap zip codes. In other words, two people who have the same ZIP may not have the same rep. Check out http://www.fyi.legis.state.tx.us/Zip.aspx and enter zip code I think the common use case is that we'll be able to use the ZIP, but we may be forced to prompt for additional address information as well, which gets clunky 😞 |
gotcha. We can always modify it to have a couple fields instead of the zip code. I just jumped to zip because it is the smallest haha |
Currently the app uses the user's current location to query for representatives.
It would be nice to:
The location also is not currently cached. Doing so would be a minor performance improvement and would shield the app from not functioning if the user disables GPS or location services after we cache.
The text was updated successfully, but these errors were encountered: