Skip to main content

Bio Login with Backend V1

When setting up Amani for Bio Login, you can use any module under the Selfie Module sections.

After initializing the Amani SDK and at any time before the upload function is called under the Selfie module, you need to set the upload source. You can set the upload source as follows.

Set Upload Source

Amani.sharedInstance().uploadSource = "bio_login"

Full Use Case

In this usecase example, Manual Selfie was used. You can use other Selfie types in a similar way by selecting them from the selfie module.

  1. Navigate the Selfie fragment.
  2. Give upload source as bio_login before upload function called in the step 3.
  3. Trigger the upload function with the Selfie data coming from the Selfie fragment callback in the step 1.