Closed rezkiy37 closed 3 years ago
Does you google maps API key work without using this library? This sounds like an API key issue (billing not configured etc), as opposed to a bug in this library.
@rezkiy37 Can you find any solutions ? It's also happens with me ++
I can't reproduce this with the code sample provided. Please provide a reproducible minimal code sample in a new issue.
Describe the bug
Usually in the list of results (Autocomplete Google API) when clicking on an element (result), the error "request could not be completed or has been aborted" appears, and because of this, I do not receive data when clicking on this address for use it to the state.
Reproduction - (required - issue will be closed without this)
My code.
Click to expand!
``` const Events = { onValueChange: (value: string) => { onValueChange(value); }, onComplexValueChange: (data: GooglePlaceData, details: GooglePlaceDetail | null) => { let complexValue: AddressItemType['googleAddress'] = { description: data.description, formatted_address: details?.formatted_address || data.description, geometry: { ...details?.geometry?.location ? { location: details.geometry.location } : {} } } onComplexValueChange(complexValue); Log.hazel('GooglePlaces.onComplexValueChange()', { data, details, complexValue }); } } return (Additional context
Library Version: ^1.8.2
React Native Version: [e.g. 0.63.0]
[all] iOS
[all] Android
Add any other context about the problem here, screenshots etc