apps-sdk 1.0.95 → 1.0.97

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": "apps-sdk",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "description": "Apps SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -72,6 +72,8 @@ class PayWall extends React.Component {
72
72
  console.log('subscription result: ',subscribed);
73
73
  if (subscribed) {
74
74
  this.props.onSubscribe(false);
75
+ } else {
76
+ this.props.onPaymentError();
75
77
  }
76
78
  });
77
79
  }
@@ -67,9 +67,7 @@ class Session {
67
67
  if (this.sessionData.isFirstOpen) {
68
68
  config.DEBUG_MODE && console.debug("checkFirstOpen - First Open");
69
69
  await this.sendFirstOpen();
70
- if (config.TRACKING_ACTIVE) {
71
- await Storage.storeData("FirstOpenAlreadyExecuted", true);
72
- }
70
+ await Storage.storeData("FirstOpenAlreadyExecuted", true);
73
71
  } else {
74
72
  config.DEBUG_MODE && console.debug("checkFirstOpen - Not First Open");
75
73
  }