Basic routing implementation.

This commit is contained in:
Patrick Fic
2025-10-07 15:35:03 -07:00
parent befa06a6b5
commit b8261f001e
14 changed files with 127 additions and 308 deletions

View File

@@ -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);
}
}