PDF417.mobi v8 Release Announcement
As of this version, PDF417.mobi 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 complete SDK to the following languages: Arabic, Chinese traditional, Chinese simplified, Croatian, Czech, Dutch, English, Filipino, French, German, Hebrew, Hungarian, Indonesian, Italian, Malay, Portuguese, Romanian, Serbian, Slovak, Spanish, Slovenian, Thai and Vietnamese.
- We added the option to disable Microblink logs in the console output. Use
LoggingSettings.disableMicroblinkLogging(). Be careful with this option. We need full log outputs from the application for support purposes. In case of having problems with scanning certain items, undesired behavior on the specific device(s), crashes inside SDK or anything unmentioned, we will need a full log from your side. If you disable Microblink logging, you won't be able to provide us this information. Hence support might be limited. - 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.
- 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. - We've improved camera performance on some Samsung devices.
Major API changes:
- To ensure compatibility with other Microblink SDKs, we have repackaged all classes. We have renamed the root package
com.microblinktocom.microblink.blinkbarcode, which is unique toPDF417.mobiSDK. - SDK has been migrated to AndroidX dependencies - previous SDK dependency com.android.support:appcompat-v7 has been replaced with androidx.appcompat:appcompat
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've deprecated
Pdf417Recognizer- useBarcodeRecognizerinstead. - We've introduced new API for configuring camera options on
UISettings- useUISettings.setCameraSettings, which accepts object ofCameraSettingstype. RecognizerRunnerFragmentextendsandroidx.fragment.app.Fragment, instead of deprecatedandroid.app.Fragment.- All provided scan activities extend
AppCompatActivity. - We've removed
RecognizerRunnerViewcustom attributes:mb_initialOrientationandmb_aspectMode. UseRecognizerRunnerView.setInitialOrientationandRecognizerRunnerView.setAspectModeto configure the attributes in the code. - We've changed default
IntentDataTransferModetoIntentDataTransferMode.PERSISTED_OPTIMISED. It can be configured by usingMicroblinkSDK.setIntentDataTransferMode. - 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 renamed
RecogitionModetoRecognitionDebugModeinRecognizerBundle.
Bug fixes:
- We've fixed camera busy error in camera management that was happening during the quick closing and opening of the camera.
- We've fixed rare crash on Samsung J5 Prime caused by race condition during the initialization of native camera frame.
- We've fixed problems with aspect ratio of camera preview on Huawei Mate 10.
- We've fixed crash when using Direct API on high-resolution
com.microblink.image.ImagefromHighResImageWrapper. - We've fixed race conditions in camera management, which in some cases caused that the camera was unable to resume after it has been paused.
- We've fixed the front-facing camera error on
Oukitel WP8 Pro.