File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- # React Native Google Places TextInput
1
+ # React Native Google Places Autocomplete TextInput
2
2
3
3
A customizable React Native TextInput component for Google Places Autocomplete using the Places API (New)
4
4
5
5
## Features
6
6
7
7
- 🎨 Fully customizable UI
8
8
- ⌨️ Debounced search
9
- - 🗑️ Clear button support
9
+ - 🗑️ Clear button (x)
10
10
- 🔄 Loading indicator
11
11
- 📱 Keyboard-aware
12
12
- 🔍 Custom place types filtering
@@ -32,8 +32,13 @@ yarn add react-native-google-places-textinput
32
32
33
33
## Prerequisites
34
34
35
- - Get a Google Places API key from the [ Google Cloud Console] ( https://console.cloud.google.com/ )
36
- - Enable Places API (New) in your Google Cloud Project
35
+ 1 . ** Enable the Places API (New)** in your Google Cloud Project
36
+ - This component specifically requires the new ` Places API (New) ` , not the legacy ` Places API `
37
+ - In the [ Google Cloud Console] ( https://console.cloud.google.com/ ) , go to ` APIs & Services ` > ` Library ` and search for "* Places API (New)* "
38
+
39
+ 2 . ** Create an API key**
40
+ - Go to "APIs & Services" > "Credentials" and create a new API key
41
+ - Under "API restrictions", make sure "Places API (New)" is selected
37
42
38
43
## Usage
39
44
You can’t perform that action at this time.
0 commit comments