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, make sure you meet the following requirements:

  • Flutter CLI version 3.x or higher.

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

  • Have camera and internet access permissions configured.

  • Access 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, which you can check in the Changelog, and <pluginName> with the name of the component to install.

Run the Facephi plugin download URL from 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 that the plugin was installed correctly, 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 workflows.

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

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

  • If you have any questions, contact Technical Support.

Last updated