Skip to content
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

Add "Users Location" As An Option To City Selection Screen #2

Open
eralpkaraduman opened this issue Aug 30, 2019 · 0 comments
Open

Comments

@eralpkaraduman
Copy link
Owner

eralpkaraduman commented Aug 30, 2019

Add another option totop of the list of cities in the City Selection Screen
[ Use My Location ]

  • Ask for permission
  • If user allows save a value to userdefaults (ie: city="userlocation" instead of "helsinki")
  • Whenever doing the event api fetching query the location
  • If permission was revoked show the city selection screen modally at boot ( maybe simply as deleting the userdefaults value so app thinks that there was no choice made so just displays the city selection screen)
@nauyihs nauyihs self-assigned this Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants