this.props.store.get('isLoggedInCitizen')), and without being a citizen, the user cannot claim GoodDollars or send existing GoodDollars using his/hers wallet. Therefore, Face Recognition process is triggered when, assuming the user have not passed face recognition yet:
onFaceRecognitionFailureis triggered - generally it displays the error message and suggest to try again. on success,
onFaceRecognitionSuccessis triggered and stores the enrollment identifier under field
zoomEnrollmentId, and takes the user to the initially desired screen using the routing system.
capturemethod which recieves the streaming video track from the Camera component and translates it into zoom data objects. Link to code
upload.any()middleware provided by multer npm package.
verifyUser(user: UserRecord, verificationData: any): Promise<boolean>which receives the active user that needs to pass face recognition, and the face recognition data. It: 1. Prepares Liveness & Search request 2. Calling Zoom Liveness & Search API (using Helper class) to verify the user is alive, and that the user has no duplicates.