digified_flutter_plugin 0.0.6
digified_flutter_plugin: ^0.0.6 copied to clipboard
Flutter plugin for Digified's Arabic eKYC and eContract SDKs. Provides native flows for identity verification and electronic contract signing with updated Android integration (FlutterActivity + Hilt) [...]
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.1 - 2025-11-11 #
Added #
- Initial release of Digified Flutter Plugin
- Android integration with Digified eKYC SDK (v0.0.1)
- Android integration with Digified eContract SDK (v0.0.2)
- iOS integration with Digified SDK
presentEKYC()method for launching eKYC identity verification flowpresentEContract()method for launching eContract electronic signature flow- Support for custom MainActivity extending AppCompatActivity
- Hilt dependency injection support for Android
- Material Components theme support
- Comprehensive documentation and setup guide
- MIT License
Technical Details #
- Minimum Android SDK: API 24 (Android 7.0)
- Kotlin: 2.2.21
- Hilt: 2.57.1
- Minimum iOS: 16.0+
- Flutter SDK: >=3.0.0
- Dart SDK: >=2.18.0 <4.0.0
0.0.2 - 2025-11-14 #
Changed #
- Simplified Android integration instructions: use
FlutterActivity+@AndroidEntryPointinstead of manualAppCompatActivitywith explicitFlutterEnginewiring. - Refined package description to highlight native flows and updated Android approach.
Fixed #
- Removed erroneous sample causing compile errors (
FlutterEngineCache, incorrect lifecycle observer usage, back press override mismatch). - Corrected and cleaned README code blocks (proper fenced formatting, no duplication).
- Ensured iOS minimum deployment target consistently documented as 16.0+.
Documentation #
- Updated README: streamlined Android setup steps, clarified Hilt configuration, reinforced iOS 16+ requirement.
- Publishing guide remains unchanged.
Technical Notes #
- No API surface change in Dart methods (
presentEKYC,presentEContract). - Internal Android activity recommendation changed; existing custom activities still compatible.
0.0.3 - 2025-11-16 #
Fixed #
- Android: Plugin now gracefully handles host activity type checking at runtime instead of compile-time.
- Removed ambiguous imports causing duplicate
Activityreferences and compile errors. - Clearer error message when host activity doesn't extend
AppCompatActivity.
Changed #
- Android integration now requires
AppCompatActivityhost withFlutterFragmentfor proper Digified SDK compatibility. - Updated README with correct
AppCompatActivity+FlutterFragmentsetup instructions.
Documentation #
- Comprehensive guide for hosting Flutter in
AppCompatActivityusingFlutterFragment. - Clarified that native Digified SDK requires
AppCompatActivity, not plainFlutterActivity. - Added troubleshooting for common activity-related errors.
Technical Notes #
- No changes to Dart API surface (
presentEKYC,presentEContract). - Plugin accepts any
Activitybut validatesAppCompatActivityat runtime. - Backward compatible: existing
AppCompatActivityimplementations continue to work.
0.0.4 - 2025-11-17 #
Updated #
- Android: Updated Digified native SDK to version 0.0.3
- iOS: Updated Digified native SDK to version 1.5.2
Documentation #
- Added iOS camera permission requirements (
NSCameraUsageDescription) in README - Clarified that camera access is required for document scanning and face verification
Technical Notes #
- No Dart API changes
- Fully backward compatible with 0.0.3
0.0.5 - 2025-11-19 #
Added #
- New API:
setLoggingEnabled(bool enabled)method to enable/disable SDK debug logging - Logging outputs detailed
[Digified]prefixed logs on iOS for easier debugging - Demo and example apps now enable logging by default for development
Updated #
- iOS: Updated Digified native SDK to version 1.5.3
Fixed #
- iOS: Fixed night mode/dark mode display issues in SDK UI
Documentation #
- Added "Enable Debug Logging" section in README with usage examples
- Updated installation instructions to use version ^0.0.5
- Clarified logging should be disabled in production builds
Technical Notes #
- No breaking changes to existing Dart API
- Android logging implementation placeholder (to be enabled when Android SDK supports it)
- Fully backward compatible with 0.0.4
0.0.6 - 2025-11-20 #
Fixed #
- Android: Fixed navigation and WorkManager integration issues
- Android: MainActivity now properly uses cached FlutterEngine for plugin registration
Changed #
- Breaking Change: Android
MainApplicationnow requiresConfiguration.Providerimplementation - Android: Added WorkManager configuration with Hilt's
DaggerWorkerFactory - Android: Disabled automatic WorkManager initialization in AndroidManifest.xml
- Android: MainActivity now uses
FlutterFragment.withCachedEngine()instead ofwithNewEngine()
Added #
- Android: New dependencies required:
androidx.hilt:hilt-work:1.3.0androidx.work:work-runtime-ktx:2.10.5io.digified:digified-ekyc:0.0.3(explicit dependency)
Documentation #
- Updated README with WorkManager configuration instructions
- Added detailed AndroidManifest.xml configuration with WorkManager provider
- Updated MainApplication example with WorkManager setup
- Clarified background task processing requirements
Technical Notes #
- No changes to Dart API surface
- Existing apps must update MainApplication and AndroidManifest.xml
- MainActivity cached engine approach ensures proper plugin registration
- WorkManager configuration required for Digified SDK's background processing