TP-69871 | longhorn block pr fixes
This commit is contained in:
1
App.tsx
1
App.tsx
@@ -43,6 +43,7 @@ import { setJsErrorHandler } from '@services/exception-handler.service';
|
||||
import fetchUpdatedRemoteConfig from './src/services/firebaseFetchAndUpdate.service';
|
||||
import { StorageKeys } from './src/types/storageKeys';
|
||||
import { setCurrentScreenName } from 'react-native-clarity';
|
||||
import {ENV} from "@constants/config";
|
||||
|
||||
initSentry();
|
||||
|
||||
|
||||
@@ -18,23 +18,14 @@ export const GLOBAL = {
|
||||
SELECTED_AGENT_ID: '',
|
||||
BUILD_FLAVOUR: '',
|
||||
MS_CLARITY_INITIALIZED: false,
|
||||
} as unknown as IGlobalUserData;
|
||||
}
|
||||
|
||||
interface IGlobalUserData {
|
||||
MS_CLARITY_INITIALIZED: boolean;
|
||||
token?: string;
|
||||
deviceId?: string;
|
||||
agentId?: string;
|
||||
deviceType?: DEVICE_TYPE_ENUM;
|
||||
isImpersonated?: boolean;
|
||||
BUILD_FLAVOUR?: buildFlavour;
|
||||
BUILD_CONFIG?: buildConfig;
|
||||
SESSION_TOKEN: string;
|
||||
DEVICE_ID: string;
|
||||
AGENT_ID: string;
|
||||
IS_IMPERSONATED: boolean;
|
||||
DEVICE_TYPE: DEVICE_TYPE_ENUM;
|
||||
SELECTED_AGENT_ID?: string;
|
||||
selectedAgentId?: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { MILLISECONDS_IN_A_MINUTE, MINUTES_IN_AN_HOUR } from '../../RN-UI-LIB/src/utlis/common';
|
||||
|
||||
export const BASE_AV_APP_URL = 'https://qa-longhorn-server.np.navi-ppl.in/field-app';
|
||||
export const BASE_AV_APP_URL = 'https://qa-longhorn-portal.np.navi-tech.in/field-app';
|
||||
export const SENTRY_DSN =
|
||||
'https://acef93c884c1424cacc4ec899562e203@qa-longhorn-server.np.navi-ppl.in/glitchtip-events/173';
|
||||
export const JANUS_SERVICE_URL = 'https://qa-longhorn-server.np.navi-ppl.in/api/events/json';
|
||||
'https://acef93c884c1424cacc4ec899562e203@qa-longhorn-portal.np.navi-tech.in/glitchtip-events/173';
|
||||
export const JANUS_SERVICE_URL = 'https://qa-longhorn-portal.np.navi-tech.in/api/events/json';
|
||||
export const ENV = 'qa';
|
||||
export const IS_SSO_ENABLED = true;
|
||||
export const APM_APP_NAME = 'cosmos-app';
|
||||
export const APM_BASE_URL = 'https://qa-longhorn-server.np.navi-ppl.in/apm-events';
|
||||
export const APM_BASE_URL = 'https://qa-longhorn-portal.np.navi-tech.in/apm-events';
|
||||
export const IS_DATA_SYNC_REQUIRED = true;
|
||||
export const DATA_SYNC_TIME_INTERVAL = 2 * MINUTES_IN_AN_HOUR * MILLISECONDS_IN_A_MINUTE; // 2hr
|
||||
export const GOOGLE_SSO_CLIENT_ID =
|
||||
|
||||
@@ -290,7 +290,6 @@ const useFirestoreUpdates = () => {
|
||||
feedbackFiltersUnsubscribe = subscribeToFeedbackFilters();
|
||||
csaFiltersUnsubscribe = subscribeToCsaFilters();
|
||||
activeCallDetailsUnsubscribe = subscribeToActiveCallDetailsUnsubscribe();
|
||||
appUpdateUnsubscribe = subscribeToAppUpdate();
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user