plotline-engage 5.7.2 → 5.7.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.
@@ -40,6 +40,6 @@ repositories {
40
40
 
41
41
  dependencies {
42
42
  implementation 'com.facebook.react:react-native:+'
43
- implementation 'com.gitlab.plotline:plotline-android-sdk:5.2.9'
43
+ implementation 'com.gitlab.plotline:plotline-android-sdk:5.3.0'
44
44
  }
45
45
 
@@ -275,6 +275,7 @@ public class RNPlotline extends ReactContextBaseJavaModule {
275
275
  }
276
276
 
277
277
  public static void setNotificationMetadata(Context context, @DrawableRes int smallIcon) {
278
+ Plotline.setFramework("REACT_NATIVE");
278
279
  PlotlinePush.setPlotlineNotificationMetaData(context, new PlotlineNotificationConfig(smallIcon));
279
280
  }
280
281
 
@@ -284,6 +285,7 @@ public class RNPlotline extends ReactContextBaseJavaModule {
284
285
  }
285
286
 
286
287
  public static void setFcmToken(Context context, String fcmToken) {
288
+ Plotline.setFramework("REACT_NATIVE");
287
289
  PlotlinePush.setFcmToken(context, fcmToken);
288
290
  }
289
291
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plotline-engage",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "description": "React Native plugin for Plotline",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"