cordova-plugin-appice 2.2.9 → 2.3.0

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.9",
3
+ "version": "2.3.0",
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.9">
3
+ id="cordova-plugin-appice" version="2.3.0">
4
4
  <name>AppICE</name>
5
5
  <description>AppICE Plugin for Cordova/PhoneGap</description>
6
6
  <license>Commercial</license>
@@ -195,7 +195,7 @@
195
195
  <framework src= "androidx.media3:media3-exoplayer:$MEDIA3_EXOPLAYER_VERSION"/>
196
196
  <framework src= "androidx.media3:media3-ui:$MEDIA3_UI_VERSION"/>
197
197
  <framework src= "appice.io.android:sdk:$APPICE_VERSION"/>
198
- <framework src= "com.google.android.gms:play-services-cloud-messaging:CLOUD_MESSAGING"/>
198
+ <framework src= "com.google.android.gms:play-services-cloud-messaging:$CLOUD_MESSAGING"/>
199
199
 
200
200
 
201
201
 
@@ -56,7 +56,7 @@ public class AppICEPushHandler {
56
56
  }
57
57
 
58
58
  public boolean isAppICEPush(RemoteMessage message) {
59
- return ContextSdk.isAppICENotification(message);
59
+ return ContextSdk.isAppICENotification(message) && ContextSdk.isAppICEFirebasePush(message);
60
60
  }
61
61
 
62
62
  public static PendingIntent createPendingIntent(String message, Context mContext) {