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
FrameRecognitionCallback
callback for theRecognizerRunnerView
, which is invoked each time a camera frame from a video stream is recognized. UseRecognizerRunnerView.setFrameRecognitionCallback
method 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.microblink
tocom.microblink.blinkinput
, which is unique toBlinkInput
SDK. ScanResultListener
interface now has an additional method called when the scanning cannot continue because of an unrecoverable error. You have to implementonUnrecoverableError
method.
If you're using built-in activities, whenonActivityResult
is called withRESULT_CANCELED
result code, the exception will be available viaActivityRunner.EXTRA_SCAN_EXCEPTION
intent extra. If the user canceled the scan, the exception would benull
.
Minor API changes:
- We renamed
EMailParser
toEmailParser
. - We renamed some methods:
- In
LicensePlatesParser
:getLicensePlateString
is now calledgetLicensePlate
. - In
RegexParser
:isUsingSieve
is now calledshouldUseSieve
,setMustStartWithWhitespace
is now calledsetStartWithWhitespace
,isMustStartWithWhitespace
is now calledshouldStartWithWhitespace
,setMustEndWithWhitespace
is now calledsetEndWithWhitespace
, andisMustEndWithWhitespace
is now calledshouldEndWithWhitespace
. - In
RawParser
:isUsingSieve
is now calledshouldUseSieve
.
- In
- We've renamed
RecogitionMode
toRecognitionDebugMode
inRecognizerBundle
. - 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
— useDocumentCaptureRecognizer
instead. - We've deprecated
Pdf417Recognizer
— useBarcodeRecognizer
instead.
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
.