Note: This is a Flutter mobile SDK for iOS and Android. It cannot run directly in a browser or desktop environment. Use this page as a reference while working with the plugin in your Flutter project.
Supported Platforms
🤖 Android
iOS 16.0+
About
The Nashid Verify SDK is a Flutter plugin that integrates the Nashid identity verification platform into mobile applications. It enables document scanning (Oman ID cards, passports) and retrieval of scan results, supporting full KYC flows with NFC reading, liveness detection, and face matching.
Installation
Add the dependency
flutter pub add nashid_verify_sdk
Or in pubspec.yaml:
dependencies: nashid_verify_sdk: ^0.0.22
Quick Start
Initialize the SDK
import 'package:nashid_verify_sdk/nashid_verify_sdk.dart'; final result = await NashidVerifySdk().initialize( 'YOUR_SDK_KEY', 'YOUR_SDK_SECRET_KEY', );
Requirements
- Flutter SDK (latest stable)
- Dart SDK ^3.5.3
- iOS: Xcode 16.1+, CocoaPods, iOS deployment target 16.0+
- Android: Android Studio, Gradle 8.12.0+
- NFC capability enabled (for NFC-based document scanning)
- Camera & Location permissions configured
Verification Status Codes
| Value | Title | Description |
|---|---|---|
| 1 | Data not collected | One or more steps failed within allowed attempts. |
| 2 | Data collected | Steps completed; final evaluation pending. |
| 3 | Verified | All criteria met successfully. |
| 4 | Not verified | One or more criteria were not met. |
| 5 | Processing | Backend is still processing results. |