apps-sdk 1.0.189 → 1.0.191

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.189",
3
+ "version": "1.0.191",
4
4
  "description": "Apps SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -111,14 +111,14 @@ class AdJust {
111
111
  Adjust.getAttribution((attribution) => {
112
112
  if (attribution) {
113
113
  Session.setAdjustAttribution(attribution);
114
- if (MixPanel.isMixpanelInitialized()) {
115
- for (let key in attribution) {
116
- if (attribution.hasOwnProperty(key) && attribution[key] !== "") {
117
- config.DEBUG_MODE && console.log('MixPanel Setting key: ' + key + ' with value: ' + attribution[key]);
118
- MixPanel.mixpanel.getPeople().set(key, attribution[key]);
119
- }
120
- }
121
- }
114
+ // if (MixPanel.isMixpanelInitialized()) {
115
+ // for (let key in attribution) {
116
+ // if (attribution.hasOwnProperty(key) && attribution[key] !== "") {
117
+ // config.DEBUG_MODE && console.log('MixPanel Setting key: ' + key + ' with value: ' + attribution[key]);
118
+ // MixPanel.mixpanel.getPeople().set(key, attribution[key]);
119
+ // }
120
+ // }
121
+ // }
122
122
  }
123
123
  });
124
124
  }
@@ -252,7 +252,7 @@ class Networking {
252
252
  config.DEBUG_MODE && console.debug("sendEvent", eventType, finalKeyword, eventData);
253
253
  try {
254
254
  AdJust.trackEventIfExist(finalKeyword);
255
- MixPanel.trackEventIfExist(finalKeyword, eventData);
255
+ // MixPanel.trackEventIfExist(finalKeyword, eventData);
256
256
  let eventResponse = await this.request(config.ENDPOINTS.EVENTS_PUSH, {
257
257
  event_name: finalKeyword,
258
258
  event_type: eventType,