plotline-engage 4.1.2 → 4.1.4

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.
@@ -39,6 +39,6 @@ repositories {
39
39
 
40
40
  dependencies {
41
41
  implementation 'com.facebook.react:react-native:+'
42
- implementation 'com.gitlab.plotline:plotline-android-sdk:3.2.8'
42
+ implementation 'com.gitlab.plotline:plotline-android-sdk:3.3.4'
43
43
  }
44
44
 
@@ -8,7 +8,6 @@ import so.plotline.insights.PlotlineWidget;
8
8
 
9
9
  public class PlotlineViewManager extends ViewGroupManager<PlotlineWrapperView> {
10
10
  public static final String REACT_CLASS = "PlotlineView";
11
- private String testId;
12
11
 
13
12
  @Override
14
13
  public String getName() {
@@ -19,14 +18,12 @@ public class PlotlineViewManager extends ViewGroupManager<PlotlineWrapperView> {
19
18
  public void setTestId(PlotlineWrapperView view, String testID) {
20
19
  PlotlineWidget widget = (PlotlineWidget) view.getContentView();
21
20
  widget.setElementId(testID);
22
- widget.setTag(testID);
23
- this.testId = testID;
24
21
  }
25
22
 
26
23
  @Override
27
24
  protected PlotlineWrapperView createViewInstance(ThemedReactContext reactContext) {
28
25
  PlotlineWrapperView wrapperView = new PlotlineWrapperView(reactContext);
29
- PlotlineWidget plotlineWidget = new PlotlineWidget(reactContext, testId);
26
+ PlotlineWidget plotlineWidget = new PlotlineWidget(reactContext);
30
27
  wrapperView.setContentView(plotlineWidget);
31
28
  return wrapperView;
32
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plotline-engage",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "React Native plugin for Plotline",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"