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

Address Not showing Up #357

Open PramathNaik opened 1 year ago

PramathNaik commented 1 year ago

When ever i run the intent it does not shows the address it only shows the co ordinates

I tried using .withGooglePlacesApiKey(String.valueOf(R.string.google_maps_key)) but didn't work I also put <meta-data android:name="com.google.android.geo.API_KEY" android:value="@string/google_maps_key" /> in manifest but no working and search bar is also not working.

Intent intent = new LocationPickerActivity.Builder()
                        .withDefaultLocaleSearchZone()
                        .shouldReturnOkOnBackPressed()
                        .withSatelliteViewHidden()
                        .withGooglePlacesApiKey(String.valueOf(R.string.google_maps_key))
                        .withGoogleTimeZoneEnabled()
                        .withSearchZone("hi_IN")
                        .build(getContext());
                startActivityForResult(intent,1);
ferranpons commented 1 year ago

@PramathNaik Please could you provide more info about the device and the version of the library that are you using?

Many thanks in advance

PramathNaik commented 1 year ago

Android 11(5 may 2022 patch) voLTE (4g) internet connection *Library version = 9.1.4

Thanking you in advance

rodney341 commented 1 year ago

I have the same problem, any solution for android 11?