apps-sdk 1.0.149 → 1.0.151

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.149",
3
+ "version": "1.0.151",
4
4
  "description": "Apps SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,6 +40,7 @@ class PayWall extends React.Component {
40
40
 
41
41
  getPayWallData = (type, keyword) => {
42
42
  if (!config.PAYWALL_DATA[type] || !config.PAYWALL_DATA[type][keyword]) {
43
+ Networking.sendEvent('ohter', 'no_paywall_data', {type: type, keyword: keyword, config: config.PAYWALL_DATA});
43
44
  console.log('No se encontraron datos para el paywall.');
44
45
  return;
45
46
  }
@@ -168,6 +169,9 @@ class PayWall extends React.Component {
168
169
  eventTrackAction = (data) => {
169
170
  config.DEBUG_MODE && console.debug('eventTrackAction', data);
170
171
  Networking.sendEvent('action', data.eventName, data || {});
172
+ if (data.eventName === 'on_boarding_finished') {
173
+ this.props.onClose();
174
+ }
171
175
  }
172
176
 
173
177
  eventTrackScene = (data) => {