Create a geolocation control
Closed this issue · 0 comments
redian commented
Do not try to get the device location automatically as its not a best practice.
It should be a responsibility of an input control i.e. a button, when triggered by a user action it needs to fetch geolocation data and make the weather api fetch request.