Merge branch 'release/1.7.0' into rome/1.7.0
This commit is contained in:
@@ -40,7 +40,6 @@ const appReducer = (state = INITIAL_STATE, action) => {
|
||||
documentUploadInProgress: null,
|
||||
};
|
||||
case AppActionTypes.TOGGLE_DLETE_AFTER_UPLOAD:
|
||||
console.log("It was toggled.")
|
||||
return {
|
||||
...state,
|
||||
deleteAfterUpload: !state.deleteAfterUpload,
|
||||
|
||||
@@ -8,13 +8,13 @@ import rootSaga from "./root.saga";
|
||||
const sagaMiddleWare = createSagaMiddleware();
|
||||
|
||||
const middlewares = [sagaMiddleWare];
|
||||
// if (process.env.NODE_ENV === "development") {
|
||||
middlewares.push(
|
||||
createLogger({
|
||||
collapsed: true,
|
||||
})
|
||||
);
|
||||
// }
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
middlewares.push(
|
||||
createLogger({
|
||||
collapsed: true,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
//Add in for React Native Debugger.
|
||||
const composeEnhancers =
|
||||
|
||||
@@ -108,7 +108,7 @@ export function* onSignInSuccess() {
|
||||
export function* signInSuccessSaga({ payload }) {
|
||||
try {
|
||||
// Analytics.setUserId(payload.email);//JF:commenting out the firebase analytics portion
|
||||
//Sentry.Native.setUser({ email: payload.email });
|
||||
//Sentry.setUser({ email: payload.email });
|
||||
|
||||
const shop = yield client.query({ query: QUERY_BODYSHOP });
|
||||
logImEXEvent("imexmobile_sign_in_success", payload);
|
||||
@@ -123,7 +123,7 @@ export function* signInSuccessSaga({ payload }) {
|
||||
// );
|
||||
} catch (error) {
|
||||
console.log("UH-OH. Couldn't get shop details.", error);
|
||||
Sentry.Native.captureException(error);
|
||||
Sentry.captureException(error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user