Open natalie-zamani opened 2 years ago
Happy to try opening a PR for this issue, but it's not clear if this library is still maintained, and I'd rather get confirmation from a contributor that it's worth doing so first.
Hi wondering if you ever found a solution for this. I am running into this problem for certain addresses near Toronto as well.
Describe the bug
For certain places that are selected in the typeahead options, the street number is always truncated off in the fetch details query, which results in the details being for the incomplete address.
Reproduction - (required - issue will be closed without this)
Can always reproduce using the address:
2 Relmar Road, Toronto, ON, Canada
, where the query made to fetch details is:"https://maps.google.com/?q=Relmar+Rd,+Toronto,+ON+M5P,+Canada
. This removes the2
street number, and results in the wrong address being returned.Additional context
Library Version: 2.4.1
React Native Version: 0.69.5
[x] iOS
[ ] Android
[ ] Web
If you are using expo please indicate here:
Add any other context about the problem here, screenshots etc
GooglePlaceData
GooglePlaceDetail