Skip to content

Commit d0f7fed

Browse files
securingsincitychristopherdro
authored andcommitted
Update installation.md (react-native-maps#696)
* Update installation.md * Adds note about usage of google api key.
1 parent 05ab508 commit d0f7fed

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/installation.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ After your `Podfile` is setup properly, run `pod install`.
7676
```
7777

7878
1. Specify your Google Maps API Key:
79-
> To develop is recommended a ***Browser Key*** without refeer restriction. Go to https://console.developers.google.com/apis/credentials to check your credentials.
79+
> For development, it is recommended to use a ***Browser Key*** without referrer restrictions. Go to https://console.developers.google.com/apis/credentials to check your credentials.
8080
8181
Add your **Browser** API key to your manifest file (`android\app\src\main\AndroidManifest.xml`):
8282

@@ -88,7 +88,7 @@ After your `Podfile` is setup properly, run `pod install`.
8888
android:value="{{Your Google maps API Key Here}}"/>
8989
</application>
9090
```
91-
> If that doesn't work try using an ***Android Key*** without refeer restriction. Go to https://console.developers.google.com/apis/credentials to check your credentials.
91+
> If that doesn't work, try using an ***Android Key*** without referrer restrictions. Go to https://console.developers.google.com/apis/credentials to check your credentials.
9292
9393
Add your **Android** API key to your manifest file:
9494

@@ -100,6 +100,8 @@ After your `Podfile` is setup properly, run `pod install`.
100100
android:value="{{@string/ANDROID_GOOGLE_MAPS_API_KEY}}"/>
101101
</application>
102102
```
103+
> Note: As shown above, com.google.android.geo.API_KEY is the recommended metadata name for the API key. A key with this name can be used to authenticate to multiple Google Maps-based APIs on the Android platform, including the Google Maps Android API. For backwards compatibility, the API also supports the name com.google.android.maps.v2.API_KEY. This legacy name allows authentication to the Android Maps API v2 only. An application can specify only one of the API key metadata names. If both are specified, the API throws an exception.
104+
Source: https://developers.google.com/maps/documentation/android-api/signup
103105

104106
1. Ensure that you have Google Play Services installed:
105107
* For Genymotion you can follow [these instructions](http://stackoverflow.com/a/20137324/1424349).

0 commit comments

Comments
 (0)