mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'sync_fix' into 'master'
Make FCM message priority high See merge request entgra/carbon-device-mgt!740
This commit is contained in:
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…
Reference in New Issue
Block a user