React-native-google-places-autocomplete: undefined is not an object (image.resizeMode.contain)

Created on 13 Jul 2018  路  6Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

Most helpful comment

Just go to node_modules/react-native-goolge-place-autocomplete/GooglePlaceAutocomplete.js
and remove 'resizeMode={Image.resizeMode.contain}' from _renderPoweredLogo method

All 6 comments

Going to be fixed in the next release

Is this already fixed ? im using
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-google-places-autocomplete": "^1.3.6"
And off course I have this error so im pretty much interested in this solution
Thanks for the info :)

Just go to node_modules/react-native-goolge-place-autocomplete/GooglePlaceAutocomplete.js
and remove 'resizeMode={Image.resizeMode.contain}' from _renderPoweredLogo method

@JenniferLeonFonseca @tgreco
You can see my changes in my pull request #323

Thanks, Madhur. Save my day.

Was this page helpful?
0 / 5 - 0 ratings