diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro index e67ec080..b9068986 100644 --- a/android/app/proguard-rules.pro +++ b/android/app/proguard-rules.pro @@ -14,4 +14,6 @@ -keep class com.navi.alfred.model.** { *; } -keep class com.navi.alfred.network.model.** { *; } -keep class com.navi.alfred.db.** { *; } --keep class com.navi.alfred.AlfredConfig { *; } \ No newline at end of file +-keep class com.navi.alfred.AlfredConfig { *; } +-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers. +-keep public class * extends java.lang.Exception # Optional: Keep custom exceptions. \ No newline at end of file diff --git a/config/qa/config.js b/config/qa/config.js index df82b252..fa45a329 100644 --- a/config/qa/config.js +++ b/config/qa/config.js @@ -1,15 +1,15 @@ 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-portal.np.navi-tech.in/field-app'; +export const BASE_AV_APP_URL = 'https://qa-longhorn-server.np.navi-ppl.in/field-app'; export const SENTRY_DSN = - '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'; + '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'; 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-portal.np.navi-tech.in/apm-events'; +export const APM_BASE_URL = 'https://qa-longhorn-server.np.navi-ppl.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 = '60755663443-40k0fbrbbqv4ci4hrjlbrphab5fj387b.apps.googleusercontent.com'; -export const MS_CLARITY_PROJECT_ID = ''; \ No newline at end of file +export const MS_CLARITY_PROJECT_ID = ''; diff --git a/src/constants/config.js b/src/constants/config.js index df82b252..fa45a329 100644 --- a/src/constants/config.js +++ b/src/constants/config.js @@ -1,15 +1,15 @@ 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-portal.np.navi-tech.in/field-app'; +export const BASE_AV_APP_URL = 'https://qa-longhorn-server.np.navi-ppl.in/field-app'; export const SENTRY_DSN = - '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'; + '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'; 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-portal.np.navi-tech.in/apm-events'; +export const APM_BASE_URL = 'https://qa-longhorn-server.np.navi-ppl.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 = '60755663443-40k0fbrbbqv4ci4hrjlbrphab5fj387b.apps.googleusercontent.com'; -export const MS_CLARITY_PROJECT_ID = ''; \ No newline at end of file +export const MS_CLARITY_PROJECT_ID = ''; diff --git a/src/miniModules/callingAgents/screens/homeScreen/index.tsx b/src/miniModules/callingAgents/screens/homeScreen/index.tsx index bea3d260..812ca79d 100644 --- a/src/miniModules/callingAgents/screens/homeScreen/index.tsx +++ b/src/miniModules/callingAgents/screens/homeScreen/index.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { View, StyleSheet } from 'react-native'; +import { View, StyleSheet, Text } from 'react-native'; import { GenericStyles } from '../../../../../RN-UI-LIB/src/styles'; import Heading from '../../../../../RN-UI-LIB/src/components/Heading'; import { useAppSelector } from '../../../../hooks'; @@ -13,7 +13,6 @@ import { COLORS } from '@rn-ui-lib/colors'; import { getPermissionsToRequest } from '@components/utlis/PermissionUtils'; const CallingAgentHomeScreen = () => { - const checkPermissions = async () => { const permissionsToRequest = await getPermissionsToRequest(); const allPermissionsGranted = permissionsToRequest?.length === 0; @@ -39,24 +38,33 @@ const CallingAgentHomeScreen = () => { type="h4" style={[GenericStyles.whiteText, GenericStyles.ml8, GenericStyles.centerAlignedRow]} > - Cosmos + Cosmos } /> - - Welcome + + Welcome + + + {user?.name} - {user?.name} - +