You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,21 @@ For more information about Parse and its features, see [the website][parseplatfo
70
70
71
71
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.
72
72
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
+
73
88
-**Option 2:** Compiling for yourself into AAR file
74
89
75
90
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