plotline-engage 4.8.7-legacy → 4.8.7-legacy-2

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.
@@ -12,6 +12,7 @@ buildscript {
12
12
  apply plugin: 'com.android.library'
13
13
 
14
14
  android {
15
+ namespace 'com.reactnativeplotline'
15
16
  compileSdkVersion 33
16
17
  buildToolsVersion "23.0.1"
17
18
  compileOptions {
@@ -54,8 +54,7 @@ public class RNPlotline extends ReactContextBaseJavaModule {
54
54
  }
55
55
 
56
56
  public static String writableMapToJson(WritableMap writableMap) {
57
- ReadableMap readableMap = writableMap.copy();
58
- Map<String, Object> map = readableMap.toHashMap();
57
+ Map<String, Object> map = writableMap.toHashMap();
59
58
  return new JSONObject(map).toString();
60
59
  }
61
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plotline-engage",
3
- "version": "4.8.7-legacy",
3
+ "version": "4.8.7-legacy-2",
4
4
  "description": "React Native plugin for Plotline",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"