Remove user tracking.
This commit is contained in:
@@ -52,25 +52,3 @@ export const updateCurrentUser = (userDetails) => {
|
||||
}, reject);
|
||||
});
|
||||
};
|
||||
|
||||
// export const logImEXEvent = (eventName, additionalParams, stateProp = null) => {
|
||||
// const state = stateProp || store.getState();
|
||||
// const eventParams = {
|
||||
// shop:
|
||||
// (state.user && state.user.bodyshop && state.user.bodyshop.shopname) ||
|
||||
// null,
|
||||
// user:
|
||||
// (state.user && state.user.currentUser && state.user.currentUser.email) ||
|
||||
// null,
|
||||
// ...additionalParams,
|
||||
// };
|
||||
// console.log(
|
||||
// "%c[Analytics]",
|
||||
// "background-color: green ;font-weight:bold;",
|
||||
// eventName,
|
||||
// eventParams
|
||||
// );
|
||||
// Analytics.logEvent(eventName, eventParams);
|
||||
// };
|
||||
|
||||
//export const ExpoAnalytics = Analytics;
|
||||
|
||||
Reference in New Issue
Block a user