diff --git a/android/app/build.gradle b/android/app/build.gradle index 1916e2be..dcfc61e6 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -134,8 +134,8 @@ def reactNativeArchitectures() { return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] } -def VERSION_CODE = 182 -def VERSION_NAME = "2.12.6" +def VERSION_CODE = 183 +def VERSION_NAME = "2.12.7" android { ndkVersion rootProject.ext.ndkVersion diff --git a/package.json b/package.json index 7b807caf..865f9d9f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "AV_APP", - "version": "2.12.6", - "buildNumber": "182", + "version": "2.12.7", + "buildNumber": "183", "private": true, "scripts": { "android:dev": "yarn move:dev && react-native run-android", diff --git a/src/components/utlis/commonFunctions.ts b/src/components/utlis/commonFunctions.ts index 01745dee..8e24044d 100644 --- a/src/components/utlis/commonFunctions.ts +++ b/src/components/utlis/commonFunctions.ts @@ -38,6 +38,7 @@ import { getFontScale, getManufacturer, getModel, + getSystemVersion, getTotalMemory, } from 'react-native-device-info'; import { addClickstreamEvent } from '@services/clickstreamEventService'; @@ -508,6 +509,7 @@ export const sendDeviceDetailsToClickstream = async () => { const fontScale = await getFontScale(); const manufacturer = await getManufacturer(); const model = getModel(); + const systemVersion = getSystemVersion(); const totalMemory = (await getTotalMemory()) / Math.pow(10, 9); // Converting it to GB const phoneLanguage = NativeModules?.I18nManager?.localeIdentifier; @@ -519,6 +521,7 @@ export const sendDeviceDetailsToClickstream = async () => { model, totalMemory, phoneLanguage, + systemVersion }); }; diff --git a/src/screens/allCases/CasesList.tsx b/src/screens/allCases/CasesList.tsx index 01d82535..38495a13 100644 --- a/src/screens/allCases/CasesList.tsx +++ b/src/screens/allCases/CasesList.tsx @@ -222,6 +222,7 @@ const CasesList: React.FC = ({ 'addressString', 'customerInfo.primaryPhoneNumber', 'primaryPhoneNumber', + 'loanAccountNumber' ], }).map((filteredListItem: { obj: CaseDetail }) => { const { caseReferenceId, id, pinRank } = filteredListItem.obj; diff --git a/src/screens/caseDetails/DocumentDataItem.tsx b/src/screens/caseDetails/DocumentDataItem.tsx index 2c122612..d95b1f80 100644 --- a/src/screens/caseDetails/DocumentDataItem.tsx +++ b/src/screens/caseDetails/DocumentDataItem.tsx @@ -7,7 +7,7 @@ import { CLICKSTREAM_EVENT_NAMES } from '@common/Constants'; import VKYCVideo from './utils/VKYCVideo'; import DocumentImageComponent from './DocumentImageComponent'; import { GenericStyles, getShadowStyle } from '@rn-ui-lib/styles'; -import { DocumentContentType, IDocumentItem } from './interface'; +import { DOCUMENT_TYPE, DocumentContentType, IDocumentItem } from './interface'; import { COLORS } from '@rn-ui-lib/colors'; import { CaseAllocationType } from '@screens/allCases/interface'; import { useAppSelector } from '@hooks'; @@ -37,7 +37,8 @@ const DocumentDataItem: React.FC = ({ docContentType, documentRefId, documentName, - unsignedUri + unsignedUri, + documentKey } = document || {}; const [isExpanded, setIsExpanded] = useState(); @@ -46,8 +47,11 @@ const DocumentDataItem: React.FC = ({ referenceId: state.user.user?.referenceId!, })); - const isPDF = docContentType === DocumentContentType.PDF; - const isVideo = (docContentType === DocumentContentType.VIDEO || docContentType === DocumentContentType.VIDEO_MP4); + const isPDF = docContentType?.includes(DocumentContentType.PDF); + const isVideo = + docContentType === DocumentContentType.VIDEO || + docContentType === DocumentContentType.VIDEO_MP4 || + documentKey === DOCUMENT_TYPE.VKYC_VIDEO; const handleOpenPdfPress = () => { if (!viewable) return;