Skip to content

Commit 3d7561f

Browse files
committed
Add README.md description
1 parent f410409 commit 3d7561f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,21 @@ For more information about Parse and its features, see [the website][parseplatfo
7070
7171
Assuming these major steps are done, adding the `parse-fcm-android` package will automatically instantiate a [ParseFirebaseJobService](https://github.com/parse-community/Parse-SDK-Android/blob/master/fcm/src/main/java/com/parse/fcm/ParseFirebaseJobService.java) that will register for a FCM token when the app starts. See the setup instructions below to verify that FCM registration works.
7272
73+
One additional change you should make on the Parse server side [configuration](http://docs.parseplatform.org/parse-server/guide/#2-configure-parse-server) is to add an `fcm` key that matches your existing `android` senderId and apiKey. This will ensure full compatibility of FCM should the Firebase [HTTP v1](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages) in the future.
74+
75+
```javascript
76+
push: {
77+
android: {
78+
senderId: '', // The Sender ID
79+
apiKey: '' // The Server API Key
80+
},
81+
fcm: {
82+
senderId: '', // The Sender ID
83+
apiKey: '' // The Server API Key
84+
},
85+
}
86+
```
87+
7388
- **Option 2:** Compiling for yourself into AAR file
7489

7590
If you want to manually compile the SDK, begin by cloning the repository locally or retrieving the source code for a particular [release][releases]. Open the project in Android Studio and run the following commands in the Terminal of Android Studio:

0 commit comments

Comments
 (0)