react-native-my-survey-sdk 2.2.37 → 3.0.0
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
|
@@ -405,6 +405,11 @@ export async function submitResponse(
|
|
|
405
405
|
if (meta.userData.uniqueId) customVariables.unique_id = meta.userData.uniqueId;
|
|
406
406
|
if (meta.userData.country) customVariables.country = meta.userData.country;
|
|
407
407
|
if (meta.userData.city) customVariables.city = meta.userData.city;
|
|
408
|
+
if (meta.userData.eData) {
|
|
409
|
+
Object.entries(meta.userData.eData).forEach(([key, value]) => {
|
|
410
|
+
if (key && value) customVariables[key] = value;
|
|
411
|
+
});
|
|
412
|
+
}
|
|
408
413
|
}
|
|
409
414
|
|
|
410
415
|
// time_spent in whole seconds, derived from netTimeDuration (minutes)
|