React-native-google-places-autocomplete: PlacesDetailsQuery don't work with multiple fields

Created on 19 Feb 2020  路  1Comment  路  Source: FaridSafi/react-native-google-places-autocomplete

When passing multiple fields to the Details Query the component fails to the a response.

GooglePlacesDetailsQuery={{ fields: 'formatted_address, geometry' }}

Any clue on how to request multiple fields?

Most helpful comment

just remove the space between the comma and geometry.
it worked for my case
GooglePlacesDetailsQuery={{ fields: 'formatted_address,geometry' }}

>All comments

just remove the space between the comma and geometry.
it worked for my case
GooglePlacesDetailsQuery={{ fields: 'formatted_address,geometry' }}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukBakTsh picture lukBakTsh  路  3Comments

mbelgrader picture mbelgrader  路  4Comments

nikohosn picture nikohosn  路  3Comments

diegothucao picture diegothucao  路  3Comments

tezahzulueta picture tezahzulueta  路  3Comments