For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Follow these steps to integrate Facephi's official plugin into your Flutter application.

Prerequisites

Before integrating the Facephi Plugin for Flutter, verify that you meet the following requirements:

  • Flutter CLI Version 3.x or later.

  • Project configured for Android (AGP 8.9.x and Kotlin 2.2.x) and/or iOS (13+).

  • Have the camera and internet connection permissions configured.

  • Access to your credentials from the Administration Portal.

Step 1: Add the dependency

In your file pubspec.yaml:

dependencies:
  fphi_sdkmobile_<pluginName>:
    hosted:
      name: fphi_sdkmobile_<pluginName>
      url: https://facephicorp.jfrog.io/artifactory/api/pub/pub-pro-fphi/
    version: ^<version>

Replace <Version> with the latest available version that you can check in the Changelog, and <pluginName> with the name of the component to install.

Run the Facephi Plugin download URL in the console:

dart pub token add "https://facephicorp.jfrog.io/artifactory/api/pub/pub-pro-fphi"

Once the command has been run, the same console will prompt you to enter the Token (not base64) provided by Facephi. Finally, to verify the correct installation of the Plugin, run the following command:


Step 2: Additional configuration

Native Android Installation Guide:

Android

Native iOS Installation Guide:

iOS

Next steps

  • Review the Usage examples to implement verification flows.

  • Check the Changelog to learn about the latest versions and changes.

  • Learn more about the SDK's functionality in the section Components/modules.

  • If you have any questions, contact Technical Support.

Last updated