plotline-engage 5.4.4 → 5.4.6

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.0.2'
43
+ implementation 'com.gitlab.plotline:plotline-android-sdk:5.0.4'
44
44
  }
45
45
 
package/index.js CHANGED
@@ -240,7 +240,7 @@ const PlotlineWidget = ({ testID }) => {
240
240
  const onSizeChange = (event) => {
241
241
  const { width, height } = event.nativeEvent;
242
242
 
243
- if (width > 0 && height > 0) {
243
+ if (width > 0) {
244
244
  setSize({ width, height });
245
245
  }
246
246
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plotline-engage",
3
- "version": "5.4.4",
3
+ "version": "5.4.6",
4
4
  "description": "React Native plugin for Plotline",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"