tonyalaribe / mybonways

View promos from stores around you
https://mybonways.com
0 stars 1 forks source link

think around what happens on the search if user disables location (gps) #89

Closed tonyalaribe closed 7 years ago

tonyalaribe commented 7 years ago

This might involve checking and sending an error message or toast to the user, telling them that their location is turned off at device level, or they didnt give the site permissions. and maybe trigger it again if possible

spankie commented 7 years ago

I've tried disabling location access at system level but the maps promos still asks for permission and grants it if i click on allow...I've not been able to identify if location is turned off at device level...I'm just going to display a modal for to let the user know if location access is not granted on browser level...

spankie commented 7 years ago

On the search if user disables location access and clicks on 'use my location', an error toast is displayed with the appropriate error message. have enabled the google geolocation autocomplete on the location inout area, so that it will be the alternative if the user disables location access.

spankie commented 7 years ago

Done.