Merge branch 'sync_fix' into 'master'

Make FCM message priority high

See merge request entgra/carbon-device-mgt!740
revert-70ac1926
Inosh Perara 4 years ago
commit ecca2b3f19

@ -126,6 +126,7 @@ public class FCMNotificationStrategy implements NotificationStrategy {
JsonObject fcmRequest = new JsonObject();
fcmRequest.addProperty("delay_while_idle", false);
fcmRequest.addProperty("time_to_live", TIME_TO_LIVE);
fcmRequest.addProperty("priority", "high");
//Add message to FCM request
JsonObject data = new JsonObject();

Loading…
Cancel
Save