
Description
react-native-google-places-autocomplete is a customizable Google Places search component for iOS and Android React Native apps. It lets users type an address or place and choose from suggestions that come from the Google Places API. To use it, you install the package and get a Google Places API key with the Places API Web Service enabled, which must be done on the Google Cloud console with billing turned on. If you want a reverse geocoding lookup for the user's current location, the Google Maps Geocoding API must also be enabled. The basic example shows an address search, and more examples cover getting the current location, using predefined places, limiting results to one country and using a custom text input. Current location needs a geolocation package on React Native 0.60 and later, such as @react-native-community/geolocation or react-native-geolocation-service, and the README says to assign it to navigator.geolocation before the component is used. The props control behavior such as auto-filling when no details are found, showing a current location button, a debounce delay for requests, disabling scroll on results, and high accuracy location. The README includes preview images and a list of methods.…
Highlights
- Google Places address search
- Current location with reverse geocoding
- Predefined places and country limits
- Custom text input support
- Configurable props and debounce
Ratings & Reviews
No ratings yet
Be the first to rate react-native-google-places-autocomplete.
People also visit
react-native-google-places-autocomplete FAQ
What does this component do?
It adds a Google Places address search with suggestions to an iOS or Android React Native app.
What do I need from Google?
A Google Places API key with the Places API Web Service enabled, and billing turned on for the account.
How do I use the current location?
Install a geolocation package, such as @react-native-community/geolocation, and enable the Google Maps Geocoding API for reverse geocoding.
Can I limit results to one country?
Yes. The README has an example that limits results to one country.
Can I use my own input?
Yes. The README shows a custom text input example.
Where is the list of options?
In the props table in the README, which lists each option and its default.
What are the best react-native-google-places-autocomplete alternatives?
Popular alternatives to react-native-google-places-autocomplete include react-places-autocomplete, react-geosuggest and react-native-maps-directions. See all react-native-google-places-autocomplete alternatives





















