onfido_sdk
11.1.0, released 7 weeks ago by onfido.com
Flutter plugin for Onfido identity verification SDK integration.
What it does
Provides screens and APIs to capture documents, facial video, and NFC data for identity verification. Handles SDK initialization, session management, and uploads results to Onfido.
AI-written summary of version 11.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to verify user identity with document and facial capture
- You require NFC document data extraction
- You want a ready‑made verification flow on Android and iOS
Skip it when
- You only need simple image picking or generic camera access
- You prefer a pure Dart solution without native SDKs
Strengths
- Full‑featured identity verification flow
- Built‑in NFC support
- Direct upload to Onfido service
- Regular native SDK updates
Weaknesses
- Requires native configuration and permissions
- Tied to Onfido service, not generic
- Large native dependencies may increase app size
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Add iOS keys NSCameraUsageDescription and NSMicrophoneUsageDescription; set iOS deployment target to 13.0; configure Android NFC dependencies or exclude them; ensure Xcode 26+ for recent versions.
```dart
import 'package:onfido_sdk/onfido_sdk.dart';
void main() async {
final onfido = OnfidoSdk();
await onfido.initialize(
token: 'YOUR_SDK_TOKEN',
flowSteps: FlowSteps(document: true, face: true),
);
final result = await onfido.start();
print('Verification result: $result');
}
```Alternatives
Packages that do the same job and could replace onfido_sdk.
- flutter_line_sdk
Flutter plugin to access native LINE SDKs for LINE Login integration.
86Compare - auth0_flutter
Auth0 SDK for Flutter to integrate Auth0 authentication into mobile, desktop, and web apps.
90Compare - smile_id
Official Smile ID SDK for real-time digital KYC, identity verification, and onboarding.
71Compare - logto_dart_sdk
Official Logto Flutter SDK for OAuth2 authentication flows.
65Compare
Works with
Packages commonly used together with onfido_sdk: ones it builds on, ones built on it, and its own family.