TP-69909 Docs changes (#879)

This commit is contained in:
Shri Prakash Bajpai
2024-08-08 23:54:55 +05:30
committed by GitHub
parent 6e191a621d
commit 107dd48aac
7 changed files with 10 additions and 24 deletions

View File

@@ -134,8 +134,8 @@ def reactNativeArchitectures() {
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
def VERSION_CODE = 181
def VERSION_NAME = "2.12.5"
def VERSION_CODE = 182
def VERSION_NAME = "2.12.6"
android {
ndkVersion rootProject.ext.ndkVersion

View File

@@ -1,7 +1,7 @@
{
"name": "AV_APP",
"version": "2.12.5",
"buildNumber": "181",
"version": "2.12.6",
"buildNumber": "182",
"private": true,
"scripts": {
"android:dev": "yarn move:dev && react-native run-android",

View File

@@ -97,7 +97,7 @@ const AgentIdCard = () => {
return !originalImageUri && !optimizedImageUri;
}, [optimizedImageUri, originalImageUri]);
const isExternalAgency = !(agencyName && agencyCode !== NAVI_AGENCY_CODE);
const isExternalAgency = (agencyName && agencyCode !== NAVI_AGENCY_CODE);
const loaderConf = useMemo(()=>{
return [
@@ -211,7 +211,8 @@ const styles = StyleSheet.create({
container: {
...GenericStyles.relative,
borderRadius: 8,
elevation: 8,
borderWidth: 3,
borderColor: COLORS.BORDER.PRIMARY,
},
flexContainer : {
display:'flex',

View File

@@ -24,11 +24,7 @@ const MyDocuments = () => {
const dispatch = useAppDispatch();
useEffect(() => {
try{
dispatch(getAgentDocuments());
} catch (error: GenericType) {
logError(error as Error);
}
}, [agentId]);
const agentsData = useAppSelector((state) => state?.documentsSlice?.agentDocumentsData);

View File

@@ -67,11 +67,7 @@ const AllCasesMain = () => {
}, []);
useEffect(() => {
try{
dispatch(getAgentDocuments());
} catch (error: GenericType) {
logError(error as Error);
}
}, [userState?.user?.referenceId]);
const HOME_SCREENS: ITabScreen[] = useMemo(() => {

View File

@@ -287,10 +287,6 @@ export const sendCommunicationViaNaviAccount = async (
phoneNumberRefId: string,
communicationChannel: string
) => {
const isImpersonated = store?.getState()?.user?.isImpersonated;
if(isImpersonated) {
return;
}
const url = getApiUrl(ApiKeys.SEND_COMMUNICATION_NAVI_ACCOUNT, {loanAccountNumber});
const response = await axiosInstance
.post(url, { documentType, language: language ? language : 'ENGLISH', phoneNumberRefId, communicationChannel })

View File

@@ -239,14 +239,11 @@ const CustomerProfile: React.FC<ICustomerProfile> = (props) => {
) : null}
</View>
</View>
<DocumentDetails
documentData={documentData}
customerReferenceId={caseDetail?.customerReferenceId}
<DocumentTabs
lan={caseDetail?.loanAccountNumber}
caseId={caseDetail?.id}
caseType={caseDetail?.caseType}
documentsLoading={documentsLoading}
isDocumentsLoading={isDocumentsLoading}
scrollByOffset={scrollByOffset}
lan={caseDetail?.loanAccountNumber || caseDetail?.id}
/>
</ScrollView>
</SafeAreaView>