react-native-my-survey-sdk 2.2.34 → 2.2.36

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": "react-native-my-survey-sdk",
3
- "version": "2.2.34",
3
+ "version": "2.2.36",
4
4
  "description": "Xebo survey collection SDK for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -312,9 +312,9 @@ class XeboSurveyManagerClass extends SimpleEventEmitter {
312
312
  qualityFlags: this._buildQualityFlags(),
313
313
  geolocation: this._buildGeolocation(),
314
314
  deviceInfo: {
315
- type: this.deviceModel,
316
- os: this.osVersion,
317
- browser: 'React Native SDK',
315
+ type: 'other',
316
+ os: Platform.OS === 'ios' ? 'ios' : 'android',
317
+ browser: Platform.OS === 'ios' ? 'safari' : 'chrome',
318
318
  },
319
319
  },
320
320
  );
@@ -353,9 +353,9 @@ class XeboSurveyManagerClass extends SimpleEventEmitter {
353
353
  qualityFlags: this._buildQualityFlags(),
354
354
  geolocation: this._buildGeolocation(),
355
355
  deviceInfo: {
356
- type: this.deviceModel,
357
- os: this.osVersion,
358
- browser: 'React Native SDK',
356
+ type: 'other',
357
+ os: Platform.OS === 'ios' ? 'ios' : 'android',
358
+ browser: Platform.OS === 'ios' ? 'safari' : 'chrome',
359
359
  },
360
360
  };
361
361