flutter_receipt_scanner_platform_interface 0.5.0
flutter_receipt_scanner_platform_interface: ^0.5.0 copied to clipboard
A common platform interface for the flutter_receipt_scanner plugin.
Changelog #
0.5.0 #
Added #
- Multilingual OCR Support: Added
ocrLanguagestoScanReceiptOptions(default:['ko-KR', 'en-US']). - Added
FlutterReceiptScanner.getOcrCapabilities()to query script family installation status (Android) or active Vision framework support (iOS). - Added
OcrLanguageException(and native error codesINVALID_OCR_LANGUAGE,OCR_LANGUAGE_NOT_SUPPORTED,OCR_LANGUAGE_COMBINATION_NOT_SUPPORTED,OCR_MODEL_INSTALL_FAILED) for capability rejection without charging a capture. - Android: The scanner now dynamically downloads and manages ML Kit non-Latin language modules via Google Play Services.
- Added capabilities inspection UI and BCP 47 language input to the example app.
0.4.0 #
Added #
ScanReceiptResult.discardedPageCount(default0) and the optionalScanResultWire.discardedPageCountwire field for natively dropped scanner pages.
0.2.0 #
Added #
ScanReceiptOptions.ocrGeometryfor requesting per-line OCR text-region boxes.OcrLineandReceiptImage.ocrLinesfor OCR text, confidence, and output-image pixel geometry.
Changed #
- Document the native
maxPagescoercion range as 1 through 10. - Clarify that screenshot origin detection is Android-only.
0.1.0 #
Initial release.
Added #
- Abstract
FlutterReceiptScannerPlatforminterface (extended, never implemented, by platform packages). - Hand-written public models:
ScanReceiptOptions,ScanReceiptResult,ReceiptImage,OcrQuality,ReceiptExif,GpsData, and theScanStatus/ScanSource/ImageOriginenums. - Pigeon-generated wire contract (
messages.g.dart) re-exported for the platform packages.