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