TP-69871 | fixed uat feedbacks
This commit is contained in:
4
android/app/proguard-rules.pro
vendored
4
android/app/proguard-rules.pro
vendored
@@ -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 { *; }
|
||||
-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.
|
||||
@@ -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 = '';
|
||||
export const MS_CLARITY_PROJECT_ID = '';
|
||||
|
||||
@@ -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 = '';
|
||||
export const MS_CLARITY_PROJECT_ID = '';
|
||||
|
||||
@@ -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
|
||||
<Text> Cosmos</Text>
|
||||
</Heading>
|
||||
</View>
|
||||
}
|
||||
/>
|
||||
<View style={[GenericStyles.centerAligned, GenericStyles.fill]}>
|
||||
<View style={GenericStyles.centerAligned}>
|
||||
<Heading style={styles.heading} type='h5'>
|
||||
Welcome
|
||||
<Heading style={styles.heading} type="h5">
|
||||
<Text>Welcome</Text>
|
||||
</Heading>
|
||||
<Heading type="h2" dark bold>
|
||||
{user?.name}
|
||||
</Heading>
|
||||
<Heading type="h2" dark bold>{user?.name}</Heading>
|
||||
</View>
|
||||
<View style={[GenericStyles.mt16]}>
|
||||
<View style={GenericStyles.mt16}>
|
||||
<Button
|
||||
variant="primaryText"
|
||||
title="Sync instantly to longhorn"
|
||||
leftIcon={<RefreshIcon />}
|
||||
leftIcon={
|
||||
<View style={styles.iconGap}>
|
||||
<RefreshIcon />
|
||||
</View>
|
||||
}
|
||||
onPress={handleOnPress}
|
||||
opacityChangeOnPress={true}
|
||||
pressableWidthChange={false}
|
||||
underlayColor={'#f2f2f2'}
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
@@ -67,7 +75,10 @@ const CallingAgentHomeScreen = () => {
|
||||
const styles = StyleSheet.create({
|
||||
heading: {
|
||||
color: COLORS.TEXT.BLACK,
|
||||
}
|
||||
},
|
||||
iconGap: {
|
||||
marginRight: 2,
|
||||
},
|
||||
});
|
||||
|
||||
export default CallingAgentHomeScreen;
|
||||
|
||||
Reference in New Issue
Block a user