Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
android: {
collectDeviceId: false,
},
ios: {
trackAdvertising: false,
trackDeepLinks: false,
},
});
}
const { user, created } = await getOrCreateUser();
storeInstance = store;
if (created) {
if (ANALYTICS_LOGS) console.log("analytics:identify", user.id);
if (token) {
await analytics.reset();
await analytics.identify(user.id, extraProperties(store));
}
}
track("Start", extraProperties(store), true);
};