File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
fcm/src/main/java/com/parse/fcm Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 26
26
public class ParseFirebaseJobService extends JobService {
27
27
28
28
private static final String JOB_TAG_UPLOAD_TOKEN = "upload-token" ;
29
- private static final String PUSH_TYPE = "fcm" ;
30
29
31
30
static Job createJob (FirebaseJobDispatcher dispatcher ) {
32
31
return dispatcher .newJobBuilder ()
@@ -51,7 +50,7 @@ public boolean onStartJob(final JobParameters job) {
51
50
if (installation != null && token != null ) {
52
51
installation .setDeviceToken (token );
53
52
//even though this is FCM, calling it gcm will work on the backend
54
- installation .setPushType (PUSH_TYPE );
53
+ installation .setPushType ("gcm" );
55
54
installation .saveInBackground (new SaveCallback () {
56
55
@ Override
57
56
public void done (ParseException e ) {
You can’t perform that action at this time.
0 commit comments