doc_scan_kit 0.1.0
doc_scan_kit: ^0.1.0 copied to clipboard
Flutter plugin that performs document scanning, using ML Kit on Android and Vision Kit on iOS
0.1.0 #
BREAKING CHANGES #
- Major plugin architecture refactoring: Separated text recognition and QR code scanning functionality from main document scanner
- Simplified
ScanResult: Removedtextandbarcodefields - now returns only image data - Removed options:
- iOS:
useQrCodeScanneranduseTextRecognizerremoved fromDocumentScanKitOptionsiOS - Android:
recognizerTextremoved fromDocumentScanKitOptionsAndroid
- iOS:
New Features #
- Added separate methods:
recognizeText(): For text recognition on image bytesscanQrCode(): For QR code scanning on image bytes
- New workflow: Document scanner now focuses solely on image capture with separate processing
Technical Improvements #
- Created new
TextProcessor.swiftutility class for iOS - Implemented dedicated
DocScanBarcodeScanner.javafor Android - Complete UI redesign of example app with configuration screen
- Updated tests to reflect new simplified structure
Migration Required #
If you were using integrated text/QR code options, you now need to:
- Use scanner only for image capture
- Call
recognizeText()orscanQrCode()separately with image bytes - Remove
useQrCodeScanner,useTextRecognizerandrecognizerTextoptions from configurations
0.0.13 #
- Update Android build dependencies to Gradle AGP 8.7.0 and add ML Kit text recognition.
- Add ML Kit text recognition support for Android and refactor DocumentScanner.
- Refactor document scanning options to android.
0.0.12 #
- Add color customization for iOS document scanning options.
0.0.11 #
- Refactor DocumentScanner options handling for improved clarity and default values.
- Update Gradle wrapper to version 8.10.2 for improved performance and features.
0.0.10 #
- Refactor DocumentScanner Android options handling for improved type safety.
- Add Gradle wrapper properties for version 8.5.
0.0.9 #
- Fix: return duplicate document on android.
0.0.8 #
- Updated
README.mdto include demo videos and screenshots for iOS and Android - Added sample media files for Android and iOS document scanning demo
- Updated Kotlin plugin version to
1.8.10; enabled image saving inDocumentScanKitoptions and improved loading state management in the UI - Renamed scanner method to
scanKit#startDocumentScanner - Refactored
DocScanKitimplementation to improve resource management; addedclosemethod and updatedmain.dartfor better plugin usage - Implemented
DocumentScannerandDocScanKitPluginfor Android; added method channel for document scanning functionality in Java, and committed the base code in Kotlin - Updated Gradle wrapper to version
8.1.1and Android plugin to version8.1.0
0.0.7 #
- Added options
useQrCodeScanneranduseTextRecognizertoDocumentScanKitOptionsiOS - Updated
ScanResultto includetextandbarcodefields - Implemented QR code and text recognition in
ScanDocKitController - Updated method channel implementation to handle new options and fields
- Added new Swift files
RecognizedTextDataSource.swiftandTextRecognize.swiftfor text recognition functionality
0.0.6 #
- add support swift package manager
0.0.5 #
- implementing saveImage = false for android
0.0.4 #
- Added ScanResult
- Added option saveImage, to return imagePath from ScanResult
0.0.3 #
- Add DocumentScanKitOptionsAndroid and DocumentScanKitOptionsiOS
0.0.1 #
- initial release.