npm react-native-google-places-autocomplete 2.0.0
v2.0.0

latest releases: 2.5.6, 2.5.5, 2.5.4...
3 years ago

Changes:

  • Updated all of the typescript definitions, prop-types and props list in the readme with all of the available props.

  • Updated the default styles (see the updated screenshots at the top of the readme).

  • The library now uses hooks internally

Breaking Changes:

  1. Removed the following props

    • getDefaultValue - use the setAddressText method with a ref instead.
    • editable - can still be used inside of textInputProps
    • keyboardAppearance - can still be used inside of textInputProps
    • onSubmitEditing - can still be used inside of textInputProps
    • placeholderTextColor - can still be used inside of textInputProps
    • returnKeyType - can still be used inside of textInputProps
    • underlineColorAndroid - can still be used inside of textInputProps
  2. Removed the following methods

    • triggerFocus - use the focus method with a ref instead.
    • triggerBlur - use the blur method with a ref instead.
    • clearText - use the clear method with a ref instead.
  3. Minimum react-native version is now 0.59.0+ (we now use hooks internally).

Special thanks to @strdr4605 for his help with the typescript definitions.

Don't miss a new react-native-google-places-autocomplete release

NewReleases is sending notifications on new releases.