AdevintaSpain / Leku

:earth_africa: Map location picker component for Android. Based on Google Maps. An alternative to Google Place Picker.
https://adevintaspain.github.io/Leku/
Apache License 2.0
763 stars 170 forks source link

When no location in the bundle, we are still doing a search #382

Closed artjimlop closed 8 months ago

artjimlop commented 8 months ago

ISSUE

When we are initializing Leku without coordinates (example: we haven't given location access beforehand), we are performing a search and displaying results. This ends up blocking the buttons in the screen.

Description

Set a default location, so we are not going to trigger the location search. Then, when user has given location access, everything's still going to work as expected.

Screenshots

Before: https://github.com/AdevintaSpain/Leku/assets/6688705/f070f77c-6415-48e3-9fc7-35da3aed07aa

After: https://github.com/AdevintaSpain/Leku/assets/6688705/f5972769-cc96-4728-b99b-097556cd73a5

Mandatory GIF

mandatory