cordova-plugin-appice 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-appice",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "AppICE Plugin for Cordova/PhoneGap",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-appice",
package/plugin.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
3
- id="cordova-plugin-appice" version="2.2.2">
3
+ id="cordova-plugin-appice" version="2.2.3">
4
4
  <name>AppICE</name>
5
5
  <description>AppICE Plugin for Cordova/PhoneGap</description>
6
6
  <license>Commercial</license>
@@ -19,6 +19,7 @@ import com.google.firebase.messaging.RemoteMessage;
19
19
  import java.util.Map;
20
20
 
21
21
  import semusi.activitysdk.ContextSdk;
22
+ import semusi.context.utility.Utility;
22
23
 
23
24
  /* import path for MainActivity */
24
25
 
@@ -44,8 +45,9 @@ public class AppICEPushHandler {
44
45
  Map<String, String> data = message.getData();
45
46
 
46
47
  if (isAppICEPush(message) ) {
48
+ String messageContent = data.get("message");
47
49
  System.out.println("data coming "+message.getData());
48
- ContextSdk.handleAppICEPush(message, createPendingIntent(data.get(MESSAGE), context), deletePendingIntent(context), context);
50
+ ContextSdk.handleAppICEPush(messageContent, createPendingIntent(data.get(MESSAGE), context), deletePendingIntent(context), context, null, Utility.next());
49
51
  }
50
52
  }
51
53
 
@@ -159,4 +161,4 @@ public class AppICEPushHandler {
159
161
  System.out.println("handleLandingPage check if any error with intent "+e);
160
162
  }
161
163
  }
162
- }
164
+ }