When i wanted to select a result, I can't do anything anymore, no crash just everything is frozen
Its work perfectly on expoGo platform ( IOS - Android )
On IOS prod all is good
On Android : Freeze
Here is my code :
<GooglePlacesAutocomplete
styles={{ container: {
borderWidth:1,
borderRadius:12,
overflow:'hidden'
},
poweredContainer: {display:'none'}
}}
placeholder='Rechercher votre adresse'
onFail={(error) => console.error(error)}
keyboardShouldPersistTaps={'handled'}
keepResultsAfterBlur={true}
minLength={1} // minimum length of text to search
listViewDisplayed={false}
// true/false/undefined
fetchDetails={true}
renderDescription={row => row.description} // custom description render
onPress={(data, details = null) => {
setLocation(details.geometry.location);
setAddress(details.name);
setPostalCode(details.address_components[details.address_components.length - 1].long_name);
setCity(details.address_components[details.address_components.length - 5].long_name);
}}
query={{
key: "",
language: 'en', // language of the results
// types: '(cities)' // default: 'geocode'
}}
nearbyPlacesAPI='GooglePlacesSearch' // Which API to use: GoogleReverseGeocoding or GooglePlacesSearch
debounce={200}
/>)}
{!route?.params?.delivery && (<GooglePlacesAutocomplete
styles={{ container: {
borderWidth:1,
borderRadius:12,
overflow:'hidden'
},
poweredContainer: {display:'none'}
}}
placeholder='Rechercher votre adresse'
onFail={(error) => console.error(error)}
// styles={{ textInput: {
// backgroundColor: '#f3f3f3',
// height: 44,
// borderRadius: 5,
// paddingVertical: 5,
// paddingHorizontal: 10,
// fontSize: 15,
// flex: 1,
// },}}
keyboardShouldPersistTaps={'handled'}
listUnderlayColor={'transparent'}
keepResultsAfterBlur={true}
minLength={1} // minimum length of text to search
listViewDisplayed={false}
// true/false/undefined
fetchDetails={true}
renderDescription={row => row.description} // custom description render
onPress={(data, details = null) => {
setLocation(details.geometry.location);
setAddress(details.name);
setPostalCode(details.address_components[details.address_components.length - 1].long_name);
setCity(details.address_components[details.address_components.length - 5].long_name);
}}
query={{
key: "",
language: 'en', // language of the results
// types: '(cities)' // default: 'geocode'
}}
nearbyPlacesAPI='GooglePlacesSearch' // Which API to use: GoogleReverseGeocoding or GooglePlacesSearch
debounce={200}
/>
Hey guys,
When i wanted to select a result, I can't do anything anymore, no crash just everything is frozen Its work perfectly on expoGo platform ( IOS - Android ) On IOS prod all is good On Android : Freeze
Here is my code :