flutter_smartface 0.8.4 copy "flutter_smartface: ^0.8.4" to clipboard
flutter_smartface: ^0.8.4 copied to clipboard

Flutter plugin for SmartFace Mobile license bootstrap, enrollment, identification, liveness, and hosted flows on Android and iOS.

flutter_smartface #

Flutter plugin for integrating SmartFace Mobile license bootstrap, enrollment, identification, liveness, and hosted flows on Android and iOS.

Plugin Flutter para integrar bootstrap de licença, cadastro, identificação, liveness e hosted flows do SmartFace Mobile em Android e iOS.

Language guide

English is the primary language of this page.

PT-BR: esta página usa inglês como idioma principal e mantém resumos de apoio em português do Brasil.

What This Package Covers #

  • License login, product lookup, and installation through FlutterSmartfaceLicensePlatform.
  • Flutter-owned biometric widgets through FlutterSmartfaceMobilePlatform.
  • Native hosted flows through SmartfaceHostedFlow.
  • Enrollment without server push through FlutterSmartfaceEnrollerPlatform.
  • Camera control and ellipse overlay helpers for custom Flutter layouts.

Integration Sequence #

  1. Add the dependency to your Flutter application.
  2. Provide the native SmartFace binaries required by Android and iOS.
  3. Authenticate and install the product license.
  4. Configure API credentials.
  5. Choose one integration style: hosted native flow, Flutter widget, or activity-based API.

PT-BR

Sequência recomendada: adicionar a dependência, disponibilizar os binários nativos, autenticar e instalar a licença, configurar as credenciais da API e então escolher o estilo de integração mais adequado.

dependencies:
  flutter_smartface: ^0.8.3
final license = FlutterSmartfaceLicensePlatform.instance;
final mobile = FlutterSmartfaceMobilePlatform.instance;

await license.setLogin('license-user', 'license-password');
await license.install(id: 'product-id');

await mobile.setCredentials(
  user: 'api-user',
  password: 'api-password',
  clientIdentifier: 123,
);

final ready = await mobile.apiConfigured();

Choose The Right API #

Integration style Main API Use when
Hosted native UX SmartfaceHostedFlow You want the fastest integration and are comfortable with native-managed screens.
Flutter-owned capture UI identifyWidget, enrollWidget, enrollWithoutServerPushingWidget, livenessWidget You need Flutter layout control while keeping SmartFace capture natively rendered.
Activity-based API smartfaceIdentifyActivity, smartfaceEnrollActivity, liveness You need lower-level orchestration or compatibility with an existing native flow.

PT-BR

Use hosted flows para integração mais rápida, widgets quando a tela Flutter precisa controlar o layout, e activities quando a orquestração precisa ficar mais próxima do lado nativo.

Native Prerequisites #

  • Android requires the SmartFace .aar distributed separately to the consuming app.
  • iOS requires the SmartFace .xcframework bundles distributed separately to the consuming app.
  • The example application in example/ is the most complete validated integration reference in this repository.

Documentation #

PT-BR

As páginas acima passam a ser a referência pública principal em inglês, com suporte em português do Brasil no próprio conteúdo.

Notes #

  • The native SmartFace SDK manual and this Flutter package API are related but not equivalent; the package source is the authoritative reference for this plugin.
  • Legacy repository guides still exist for maintainers, but the pub.dev pages above are the intended entry point for integrators.
1
likes
130
points
426
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for SmartFace Mobile license bootstrap, enrollment, identification, liveness, and hosted flows on Android and iOS.

Homepage

License

unknown (license)

Dependencies

flutter, flutter_secure_storage, fpdart, permission_handler, plugin_platform_interface, shared_preferences

More

Packages that depend on flutter_smartface

Packages that implement flutter_smartface