TP-66615 | Clickstream changes
This commit is contained in:
@@ -134,8 +134,8 @@ def reactNativeArchitectures() {
|
|||||||
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
||||||
}
|
}
|
||||||
|
|
||||||
def VERSION_CODE = 168
|
def VERSION_CODE = 169
|
||||||
def VERSION_NAME = "2.11.2"
|
def VERSION_NAME = "2.11.3"
|
||||||
|
|
||||||
android {
|
android {
|
||||||
ndkVersion rootProject.ext.ndkVersion
|
ndkVersion rootProject.ext.ndkVersion
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "AV_APP",
|
"name": "AV_APP",
|
||||||
"version": "2.11.2",
|
"version": "2.11.3",
|
||||||
"buildNumber": "168",
|
"buildNumber": "169",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"android:dev": "yarn move:dev && react-native run-android",
|
"android:dev": "yarn move:dev && react-native run-android",
|
||||||
|
|||||||
@@ -1053,6 +1053,10 @@ export const CLICKSTREAM_EVENT_NAMES = {
|
|||||||
name: 'FA_ID_CARD_BLOCKER_SEND_FOR_APPROVAL_BUTTON_CLICKED',
|
name: 'FA_ID_CARD_BLOCKER_SEND_FOR_APPROVAL_BUTTON_CLICKED',
|
||||||
description: 'FA_ID_CARD_BLOCKER_SEND_FOR_APPROVAL_BUTTON_CLICKED',
|
description: 'FA_ID_CARD_BLOCKER_SEND_FOR_APPROVAL_BUTTON_CLICKED',
|
||||||
},
|
},
|
||||||
|
FA_ID_CARD_BLOCKER_SCREEN_VIEWED: {
|
||||||
|
name: 'FA_ID_CARD_BLOCKER_SCREEN_VIEWED',
|
||||||
|
description: 'FA_ID_CARD_BLOCKER_SCREEN_VIEWED',
|
||||||
|
},
|
||||||
FA_ID_CARD_BLOCKER_REVIEW_ID_CARD_SCREEN_LOADED: {
|
FA_ID_CARD_BLOCKER_REVIEW_ID_CARD_SCREEN_LOADED: {
|
||||||
name: 'FA_ID_CARD_BLOCKER_REVIEW_ID_CARD_SCREEN_LOADED',
|
name: 'FA_ID_CARD_BLOCKER_REVIEW_ID_CARD_SCREEN_LOADED',
|
||||||
description: 'FA_ID_CARD_BLOCKER_REVIEW_ID_CARD_SCREEN_LOADED',
|
description: 'FA_ID_CARD_BLOCKER_REVIEW_ID_CARD_SCREEN_LOADED',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import React from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import { COLORS } from '@rn-ui-lib/colors';
|
import { COLORS } from '@rn-ui-lib/colors';
|
||||||
import Button from '@rn-ui-lib/components/Button';
|
import Button from '@rn-ui-lib/components/Button';
|
||||||
import Text from '@rn-ui-lib/components/Text';
|
import Text from '@rn-ui-lib/components/Text';
|
||||||
@@ -10,6 +10,7 @@ import { handleIdCardImageCapture } from '../utils';
|
|||||||
import { CLICKSTREAM_EVENT_NAMES } from '@common/Constants';
|
import { CLICKSTREAM_EVENT_NAMES } from '@common/Constants';
|
||||||
import { addClickstreamEvent } from '@services/clickstreamEventService';
|
import { addClickstreamEvent } from '@services/clickstreamEventService';
|
||||||
import { ImageApprovalStatus } from '@reducers/profileSlice';
|
import { ImageApprovalStatus } from '@reducers/profileSlice';
|
||||||
|
import { getSelfieDocument } from '@actions/profileActions';
|
||||||
|
|
||||||
const IdCardCreationFlow = () => {
|
const IdCardCreationFlow = () => {
|
||||||
const dispatch = useAppDispatch();
|
const dispatch = useAppDispatch();
|
||||||
@@ -20,6 +21,14 @@ const IdCardCreationFlow = () => {
|
|||||||
});
|
});
|
||||||
dispatch(handleIdCardImageCapture());
|
dispatch(handleIdCardImageCapture());
|
||||||
};
|
};
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
addClickstreamEvent(CLICKSTREAM_EVENT_NAMES.FA_ID_CARD_BLOCKER_SCREEN_VIEWED, {
|
||||||
|
screen: ImageApprovalStatus.NOT_INITIATED,
|
||||||
|
});
|
||||||
|
dispatch(getSelfieDocument());
|
||||||
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
|
|||||||
Reference in New Issue
Block a user