flutter_receipt_scanner_android 0.5.0
flutter_receipt_scanner_android: ^0.5.0 copied to clipboard
Android implementation of 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 #
- Populate
discardedPageCountdefensively (expected0— the GMS scanner enforcessetPageLimitin its UI).
0.3.0 #
Changed #
- Require
flutter_receipt_scanner_platform_interface0.3.0 for coordinated federated package compatibility.
0.2.0 #
Added #
- Return per-line OCR geometry in output-image pixel coordinates when
ocrGeometryis enabled.
Fixed #
- Apply OCR-detected rotation consistently to images and line geometry.
- Report unexpected scan and crop-editor failures instead of treating them as cancellations.
- Enforce scan and image-size limits while improving gallery cache cleanup and large-image failure handling.