ErickSaito / MC855

0 stars 0 forks source link

Location API does not work on first install #34

Open paulopacitti opened 1 year ago

paulopacitti commented 1 year ago

Context

Location API does not work on first install because it queries the location but failed since it can't know when device has granted the Location permissions to retry the location query.

Task

This can be fixed by remodeling the Location API to use hooks (I know, go back to the way it was, but in a better way) or using a database library to query if the device has granted access to location API. This way, once this value is changed, we can retrigger the query for the current location.