-
Notifications
You must be signed in to change notification settings - Fork 90
Transition guide
-
Remove the old .embeddedframework package completely from your project
-
Add new .framework and .bundle package to your project. Verify that Framework search path really contains a path to the .framework folder.
-
replace all occurrences of
PPCoordinator
's methodisScanningUnsupported:
toisScanningUnsupportedForCameraType:error:
. If you use Back facing camera, usePPCameraTypeBack
, otherwisePPCameraTypeBack
. -
Rename
PPMetadataSettings
properties-
successfulScanFrame
rename tosuccessfulFrame
-
currentVideoFrame
rename tocurrentFrame
-
-
You can now enable Bitcode support in your project.
-
If you used
mrtdRoi
anddetectMachineReadbleZonePosition
, just delete the lines of code where you used them. MRTD is now automatically detected -
Renamed
PPUkdlRecognizerResult
's propertyownerAdress
toownerAddress
(fixed typo) -
You now need to link your app with
Accelerate.framework
system library. This is due to new optimizations in character recognition.
- No backwards incompatible changes. See Release notes for new features.
- No backwards incompatible changes
-
If you're using direct API, just delete all calls to
PPCoordinator initializeRecognizers
andPPCoordinator terminateRecognizers
. These calls are now performed internally -
rotatedImage
property ofPPImageMetadata
no longer exists. Useimage
property instead, it correctly handles rotation. -
PPApp
class is no longer a part of the API. -
PPMetadataSettings
was cleaned up - use the alternative names provided listed in the header file.
- No backwards incompatible changes
- No backwards incompatible changes
- No backwards incompatible changes
-
This version uses a new license key format. If you had a license key generated prior to v0.9.3, contact us so we can regenerate the lincense key for you.
-
UK Driver's license support added. To scan them, add PPUkdlRecognizerSettings to
settings.scanSettings
[settings.scanSettings addRecognizerSettings:[[PPUkdlRecognizerSettings alloc] init]];
- To collect UKDL results, look for
PPUkdlRecognizerResult
object inscanningViewController:didOutputResults:
callback
for (PPRecognizerResult *result in results) {
if ([result isKindOfClass:[PPUkdlRecognizerResult class]]) {
PPUkdlRecognizerResult* ukdlResult = (PPUkdlRecognizerResult*)result;
[self processUkdlResult:ukdlResult scanningViewController:scanningViewController];
}
}
-
PPCoordinator
class now exposes fewer public methods and properties.
-
Classes representing scanning results were renamed. Renaming was performed to match naming convention of
PPRecognizerSettings
hierarcy: now eachPPRecognizerSettings
class has it's matchingPPRecognizerResult
. Replace all existing references to old class names with the new ones:-
PPBaseResult
was renamed toPPRecognizerResult
.
-
-
PPOcrResult
(class representing a result of the OCR process, with individual characters, lines and blocks), was renamed toPPOcrLayout
. Name change was introduced to further distinguish the class fromPPRecognizerResult
classes. -
Remove all references to
updateScanningRegion
method since it's now being called automatically insetScanningRegion setter
.
-
Framework was renamed to MicroBlink.embeddedframework. Remove the existing .embeddedframwork package from your project, and drag&drop MicroBlink.embeddedframework in the project explored of your Xcode project.
-
If necessary, after the update, modify your framework search path so that it points to the MicroBlink.embeddedframework folder.
-
Main header of the framework was renamed to
<MicroBlink/Microblink.h>
. Change all references to previous header with the new one. -
method
[PPCoordinator isPhotoPaySupported]
was renamed to[PPCoordinator isScanningSupported]
. Change all occurances of the method name.
- Getting Started with BlinkID SDK
- Obtaining scanning results
- Using Direct Processing API
- Customizing Camera UI
- Creating customized framework
- Upgrading from older versions
- Troubleshoot