Skip to content

Commit 8f13b84

Browse files
committed
Revert "Set installation to fcm now. (parse-community#820)"
This reverts commit f3d47f6.
1 parent 7944216 commit 8f13b84

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fcm/src/main/java/com/parse/fcm/ParseFirebaseJobService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
public class ParseFirebaseJobService extends JobService {
2727

2828
private static final String JOB_TAG_UPLOAD_TOKEN = "upload-token";
29-
private static final String PUSH_TYPE = "fcm";
3029

3130
static Job createJob(FirebaseJobDispatcher dispatcher) {
3231
return dispatcher.newJobBuilder()
@@ -51,7 +50,7 @@ public boolean onStartJob(final JobParameters job) {
5150
if (installation != null && token != null) {
5251
installation.setDeviceToken(token);
5352
//even though this is FCM, calling it gcm will work on the backend
54-
installation.setPushType(PUSH_TYPE);
53+
installation.setPushType("gcm");
5554
installation.saveInBackground(new SaveCallback() {
5655
@Override
5756
public void done(ParseException e) {

0 commit comments

Comments
 (0)