v5.0.0
BlinkInput v5 Release Announcement
As of this version, BlinkInput SDK is fully compatible with other Microblink SDKs, which means that you can use it alongside another Microblink SDK in the same application.
Improvements:
- We've translated the complete SDK to the following additional languages: Malay, Dutch, Hungarian, Serbian, Slovenian, Indonesian, Arabic, Romanian, Chinese traditional, Chinese simplified, Thai, Hebrew, Vietnamese and Filipino.
- We've made the SDK safe from tapjacking, a form of attack where a user is tricked into tapping something he or she didn't intend to tap. We did this by adding a new security option that prompts the SDK to discard touches when the activity's window is obscured by another visible window. To activate it, use
UISettings.setFilterTouchesWhenObscured(true). - We've introduced a new
FrameRecognitionCallbackcallback for theRecognizerRunnerView, which is invoked each time a camera frame from a video stream is recognized. UseRecognizerRunnerView.setFrameRecognitionCallbackmethod to set the callback.
Major API changes
- To ensure compatibility with other Microblink SDKs, we have repackaged all classes. We’ve renamed the root package
com.microblinktocom.microblink.blinkinput, which is unique toBlinkInputSDK. ScanResultListenerinterface now has an additional method called when the scanning cannot continue because of an unrecoverable error. You have to implementonUnrecoverableErrormethod.
If you're using built-in activities, whenonActivityResultis called withRESULT_CANCELEDresult code, the exception will be available viaActivityRunner.EXTRA_SCAN_EXCEPTIONintent extra. If the user canceled the scan, the exception would benull.
Minor API changes:
- We renamed
EMailParsertoEmailParser. - We renamed some methods:
- In
LicensePlatesParser:getLicensePlateStringis now calledgetLicensePlate. - In
RegexParser:isUsingSieveis now calledshouldUseSieve,setMustStartWithWhitespaceis now calledsetStartWithWhitespace,isMustStartWithWhitespaceis now calledshouldStartWithWhitespace,setMustEndWithWhitespaceis now calledsetEndWithWhitespace, andisMustEndWithWhitespaceis now calledshouldEndWithWhitespace. - In
RawParser:isUsingSieveis now calledshouldUseSieve.
- In
- We've renamed
RecogitionModetoRecognitionDebugModeinRecognizerBundle. - We've replaced
Using time-limited license!warning withUsing trial license!warning. The warning message is displayed when using a trial license key. - We've deprecated
DetectorRecognizer— useDocumentCaptureRecognizerinstead. - We've deprecated
Pdf417Recognizer— useBarcodeRecognizerinstead.
Bug fixes:
- We've fixed a bug in IBAN parsing which occasionally read the reference number as part of the IBAN.
- We've fixed the front-facing camera error on
Oukitel WP8 Pro.