Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Update INSTALLATION.md
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Dec 5, 2017
1 parent a80996d commit 40dba0b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,22 @@ cordova plugin add https://github.com/phonegap/phonegap-plugin-push

As of version 2.0.0 the SENDER_ID parameter has been removed at install time. Instead you put your google-services.json (Android) and/or GoogleService-Info.plist in the root folder of your project and then add the following lines into your config.xml.

In the platform tag for Android add the resource-file tag:
In the platform tag for Android add the following resource-file tag if you are using cordova-android 7.0 or greater:

```
<platform name="android">
<resource-file src="google-services.json" target="app/google-services.json" />
</platform>
```

If you are using cordova-android 6.x or earlier, add the following resource-file tag:

```
<platform name="android">
<resource-file src="google-services.json" target="google-services.json" />
</platform>
```

By default, on iOS, the plugin will register with APNS. If you want to use FCM on iOS, in the platform tag for iOS add the resource-file tag:

```
Expand Down

0 comments on commit 40dba0b

Please sign in to comment.