Basic routing implementation.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
//import * as Analytics from "expo-firebase-analytics";//JF:commenting out the firebase analytics portion
|
||||
import { signInWithEmailAndPassword, signOut } from "firebase/auth";
|
||||
import { all, call, put, takeLatest } from "redux-saga/effects";
|
||||
import * as Sentry from '@sentry/react-native';
|
||||
import { logImEXEvent } from "../../firebase/firebase.analytics";
|
||||
import {
|
||||
auth,
|
||||
@@ -108,8 +107,8 @@ export function* onSignInSuccess() {
|
||||
export function* signInSuccessSaga({ payload }) {
|
||||
try {
|
||||
// Analytics.setUserId(payload.email);//JF:commenting out the firebase analytics portion
|
||||
//Sentry.setUser({ email: payload.email });
|
||||
|
||||
|
||||
|
||||
const shop = yield client.query({ query: QUERY_BODYSHOP });
|
||||
logImEXEvent("imexmobile_sign_in_success", payload);
|
||||
|
||||
@@ -123,7 +122,7 @@ export function* signInSuccessSaga({ payload }) {
|
||||
// );
|
||||
} catch (error) {
|
||||
console.log("UH-OH. Couldn't get shop details.", error);
|
||||
Sentry.captureException(error);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user