100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
#19 APNS notification mutable-content attribute must be specified (with proper case) for Extension to receive it.
Eric Bariaux0533cb11921b
diff --git a/manager/server/src/main/java/org/openremote/manager/server/notification/Notification.java b/manager/server/src/main/java/org/openremote/manager/server/notification/Notification.javaindex 458be6e15..2a1371253 100644--- a/manager/server/src/main/java/org/openremote/manager/server/notification/Notification.java+++ b/manager/server/src/main/java/org/openremote/manager/server/notification/Notification.java@@ -19,6 +19,8 @@*/package org.openremote.manager.server.notification;+import com.fasterxml.jackson.annotation.JsonProperty;+public class Notification {protected String body;@@ -39,6 +41,7 @@ public class Notification {this.body = body;}+ @JsonProperty("mutable-content")public boolean getMutableContent() {return mutableContent;}@@ -55,7 +58,7 @@ public class Notification {public String toString() {return getClass().getSimpleName() + "{" +"body='" + body + '\'' +- ", mutableContent=" + mutableContent ++ ", mutable-content=" + mutableContent +", clickAction='" + clickAction + '\'' +'}';}