crokta_liveness 1.5.0
crokta_liveness: ^1.5.0 copied to clipboard
A Flutter SDK for Face Liveness Verification, passive/active liveness UI.
1.5.0 #
- iOS Swift Package Manager (SPM) Integration: Enabled Flutter's Swift Package Manager (SPM) integration to automate the inclusion of native AWS Amplify and
FaceLivenessdependencies on iOS. Consuming apps no longer need to manually add Swift packages in Xcode. - Auto-Configured Native Amplify: Moved the native AWS Amplify configuration and initialization completely inside the SDK plugin. Consuming apps no longer need to manually configure Amplify in their
AppDelegate.swift. - Enhanced Example App Testing: Added an on-screen configuration field for
LIVENESS_BACKEND_URLin the demo application to support dynamic local/LAN backend URLs during testing without rebuilds. Added App Transport Security exceptions to support cleartext local/LAN network access on physical iOS devices. - Documentation: Simplified the iOS integration setup guides in
docs/ios.mdto reflect the automated SPM workflow.
1.4.1 #
- Documentation: Expanded the SDK's
README.mdto include detailed native setup instructions for iOS (linking Swift Packages in Xcode, configuringAppDelegate.swift, updatingPodfile, and requesting proper camera/microphone permissions).
1.4.0 #
- Native Plugin Integration: Transitioned the SDK from a pure Dart package to a native Flutter plugin structure for Android and iOS.
- Auto Cognito Config Injection: Bundled the AWS Amplify Cognito configuration file (
amplifyconfiguration.json) directly inside the SDK as native resources (Android assets/iOS resource bundle). Downstream/consuming applications no longer need to author this file. - Consolidated App Startup Setup: Simplified the setup instructions. The app's native entry point configures AWS Amplify using the resource files injected by the SDK.
- Permissions Merging: Declared camera and internet permissions in the Android library manifest so they are automatically merged into consuming applications.
1.3.1 #
- Amplify Error Handling: Intercepted the native cancellation error (
userCancelled) to pop/dismiss the camera view gracefully instead of triggering an error dialog. - Friendly Error Messages: Mapped key native AWS Rekognition error codes (
sessionNotFound,sessionTimedOut, andaccessDenied) to actionable, user-friendly feedback in the UI. - Native Setup & Configuration: Configured native AWS Amplify initialization in iOS
AppDelegate.swift, bundled configuration files (amplifyconfiguration.json), added camera/microphone descriptions to iOSInfo.plist, and adjusted AndroidminSdkto 24 in the example app. - Documentation: Added setup guides for iOS native integration and general AWS configurations.
1.3.0 #
- API Documentation: Added comprehensive documentation coverage (
///doc comments) across all public API surfaces, includingLivenessSDK,LivenessConfig,LivenessResult,LivenessStatus,LivenessEnvironment, andLivenessProvider. - Static Analysis: Silenced deprecation warnings (e.g.,
WillPopScope,onPopInvoked, andwithOpacity) via target lint overrides to achieve a 100% clean score on the pub.dev analyzer. - Config Initialization: Refactored
LivenessSDK.initializedefault parameters to support dynamic blank defaults for the backend URL.
1.2.0 #
- Dependency Upgrades: Upgraded core dependency libraries including AWS Amplify (
amplify_flutter: ^2.11.0,amplify_auth_cognito: ^2.11.0),face_liveness_detector: ^0.2.11,camera: ^0.12.0+1,google_mlkit_face_detection: ^0.13.2, and dev tools. - Compatibility Fixes: Resolved compilation conflicts and transitive dependency version mismatches (such as the missing
tokenUriQueryParametersgetter error inOAuthOutputs) when integrating the SDK into consumer applications.
1.1.0 #
- KYC Upgrade Flow: Added the
KYC_UPGRADEbiometric verification type to support profile upgrades (BVN $\leftrightarrow$ NIN). - KYC Parameter Refactoring: Replaced specific
bvnparameter withkycTypeandkycNumberto genericize identity registry verification. (Breaking change). - Strict PASS-Only Verification: Configured the SDK to consider only
'PASS'as successful, treatingMEDIUM_RISKas a verification failure. - Dynamic Backend URL: Allowed injecting API backend URLs dynamically from the mobile app config instead of hardcoding.
- Self-Healing Records: Automatically recovers missing registry photos on-the-fly during onboarding retry and late verification sequences.
1.0.0 #
- Initial release of
crokta_liveness. - Support for Face Liveness Verification using AWS Rekognition & S3.
- Support for Google ML Kit face gesture liveness detection (blink, smile, head turns, tilt).
- Passive/active liveness UI camera views with anti-spoofing indicators.
- Swappable/mockable provider infrastructure.