Skip to content

Commit 1cee6dc

Browse files
authored
README.md indentation fixes
1 parent 2c4dc1f commit 1cee6dc

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Finally, modify your `app/App_Resources/Android/AndroidManifest.xml` file by ins
5252

5353
```(xml)
5454
<meta-data
55-
android:name="com.google.android.geo.API_KEY"
56-
android:value="@string/nativescript_google_maps_api_key" />
55+
android:name="com.google.android.geo.API_KEY"
56+
android:value="@string/nativescript_google_maps_api_key" />
5757
```
5858

5959
### Nativescript 4+
@@ -70,8 +70,8 @@ Finally, modify your `app/App_Resources/Android/src/main/AndroidManifest.xml` fi
7070

7171
```(xml)
7272
<meta-data
73-
android:name="com.google.android.geo.API_KEY"
74-
android:value="@string/nativescript_google_maps_api_key" />
73+
android:name="com.google.android.geo.API_KEY"
74+
android:value="@string/nativescript_google_maps_api_key" />
7575
```
7676

7777
The plugin will default to the latest available version of the Google Play Services SDK for Android. If you need to change the version, you can add a `project.ext` property, `googlePlayServicesVersion`, like so:
@@ -90,16 +90,18 @@ In your `app.js`, use the following code to add your API key (replace `PUT_API_K
9090

9191
```
9292
if (application.ios) {
93-
GMSServices.provideAPIKey("PUT_API_KEY_HERE");
93+
GMSServices.provideAPIKey("PUT_API_KEY_HERE");
9494
}
9595
```
9696
If you are using Angular, modify your `app.module.ts` as follows:
9797
```
9898
import * as platform from "platform";
9999
declare var GMSServices: any;
100+
100101
....
102+
101103
if (platform.isIOS) {
102-
GMSServices.provideAPIKey("PUT_API_KEY_HERE");
104+
GMSServices.provideAPIKey("PUT_API_KEY_HERE");
103105
}
104106
```
105107

0 commit comments

Comments
 (0)