Skip to content

Conversation

levhitaIncode
Copy link
Contributor

No description provided.

@levhitaIncode levhitaIncode requested a review from Copilot June 10, 2025 22:47
Copilot

This comment was marked as outdated.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a multi-step consent and ID capture flow using incode’s biometric and combined consent renderers, and updates package versions and environment configuration.

  • Replaces previous front/back ID capture with a three-step flow: mandatory consent → combined consent → geolocation + ID capture
  • Adds consentId environment variable and bumps @incodetech/welcome dependency
  • Refactors session start logic and removes unused saveDeviceData function

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/App.js Implements checkMandatoryConsent, captureCombinedConsent, sendGeolocation, and captureId functions and updates JSX
package.json Bumps @incodetech/welcome from 1.75.0 to 1.80.1
.env.example Adds REACT_APP_CONSENT_ID placeholder
Comments suppressed due to low confidence (1)

src/App.js:130

  • You have two identical <div ref={incodeContainerRef}></div> elements in the render. This duplicate container may cause confusion or unexpected behavior—consider removing one.
<div ref={incodeContainerRef}></div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant