Skip to content

Commit 13105eb

Browse files
committed
docs: update README for clarity on prerequisites
1 parent b2ea6d3 commit 13105eb

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# React Native Google Places TextInput
1+
# React Native Google Places Autocomplete TextInput
22

33
A customizable React Native TextInput component for Google Places Autocomplete using the Places API (New)
44

55
## Features
66

77
- 🎨 Fully customizable UI
88
- ⌨️ Debounced search
9-
- 🗑️ Clear button support
9+
- 🗑️ Clear button (x)
1010
- 🔄 Loading indicator
1111
- 📱 Keyboard-aware
1212
- 🔍 Custom place types filtering
@@ -32,8 +32,13 @@ yarn add react-native-google-places-textinput
3232

3333
## Prerequisites
3434

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
3742

3843
## Usage
3944

0 commit comments

Comments
 (0)