hi @vknow360
The issue with the app closing stems from two extensions in the custom webview: DownloadHelper and BrowserPromptHelper. The app includes ML Kit.
Specifically, adding certain blocks in DownloadHelper causes the app to close immediately upon opening.
Moreover, including BrowserPromptHelper and DownloadHelper (without configuring any blocks) leads to an app package error, preventing installation.
This occurs on Android 14 devices. I previously encountered this on my Android 13 version.
Hu Sunny, could you please share also with me the beta version 13. My old app is crashing using the CheckModulesAvailabity on an Android 15 device and i'd like to upgrade my MITBRek.AIX version (recieved from you on 29/08/24). Thanks
Hi Sunny,
I found the reason for the crash. Unintentionally, I changed the license key in the project, which caused the crash. It seems useful to add the related error message to the extension.
Thank you for your quick response!
P.S. Restoring the correct license key resolved the issue, and everything is working now.
Architectural Modularization Split the monolithic extension into three specialized components (BarcodeRecognizer, TextRecognizer, MlModules) to keep your projects clean and reduce overhead.
New Live Camera Scanner Added full support for continuous live barcode scanning through a camera preview (SetPreviewContainer, StartScanner, StopScanner blocks).
Added CloseRecognizer methods to give you explicit control over freeing up ML Kit resources.
The reason is the ambiguity involved. I'm hesitant to implement it because, unlike barcode scanning, text recognition doesn't have a well-defined endpoint.
With barcodes, the scanner knows exactly when a code has been detected and decoded. With text recognition, however, moving the camera even slightly up or down can completely change the recognized text, making it unclear when the recognition should be considered "final."
Thanks for the reply. It doesn’t have to be real “live” recognition. The app could simply take a picture by itself every second (or however long the text recognition takes) and read the text from it.