diff --git a/BlinkID/blinkid-react-native.podspec b/BlinkID/blinkid-react-native.podspec index ed47ec8..9e99c9f 100644 --- a/BlinkID/blinkid-react-native.podspec +++ b/BlinkID/blinkid-react-native.podspec @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.header_dir = "blinkid-react-native" s.dependency 'React' - s.dependency 'PPBlinkID', '~> 5.0.0' + s.dependency 'PPBlinkID', '~> 5.1.0' s.frameworks = 'UIKit' end diff --git a/BlinkID/package.json b/BlinkID/package.json index 8cd18b0..e832e5e 100644 --- a/BlinkID/package.json +++ b/BlinkID/package.json @@ -1,6 +1,6 @@ { "name": "blinkid-react-native", - "version": "5.0.0", + "version": "5.1.0", "description": "A small and powerful ID card scanning library. Powered by Microblink (www.microblink.com).", "main": "index.js", "repository": { diff --git a/BlinkID/recognizers/blinkIdCombinedRecognizer.js b/BlinkID/recognizers/blinkIdCombinedRecognizer.js index 5dfa39b..8a48d4b 100644 --- a/BlinkID/recognizers/blinkIdCombinedRecognizer.js +++ b/BlinkID/recognizers/blinkIdCombinedRecognizer.js @@ -19,7 +19,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * The additional name information of the document owner. + * The additional address information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -59,7 +59,10 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.documentAdditionalNumber = nativeResult.documentAdditionalNumber; /** - * Defines result of the data matching algorithm for scanned parts/sides of the document. + * Returns DataMatchResultSuccess if data from scanned parts/sides of the document match, + * DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side + * of the document and values do not match, this method will return DataMatchResultFailed. Result will + * be DataMatchResultSuccess only if scanned values for all fields that are compared are the same. */ this.documentDataMatch = nativeResult.documentDataMatch; @@ -79,7 +82,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.employer = nativeResult.employer; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; @@ -89,12 +92,12 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.firstName = nativeResult.firstName; /** - * Back side image of the document + * back side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage; /** - * Front side image of the document + * front side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage; @@ -119,7 +122,7 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.maritalStatus = nativeResult.maritalStatus; /** - * The data extracted from the machine readable zone. + * The data extracted from the machine readable zone */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -159,7 +162,8 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { this.residentialStatus = nativeResult.residentialStatus; /** - * {true} if recognizer has finished scanning first side and is now scanning back side, + * Returns true if recognizer has finished scanning first side and is now scanning back side, + * false if it's still scanning first side. */ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone; @@ -172,34 +176,51 @@ export class BlinkIdCombinedRecognizerResult extends RecognizerResult { } /** - * A generic recognizer which can scan front and back side of the document. + * Recognizer which can scan front and back side of the United States driver license. */ export class BlinkIdCombinedRecognizer extends Recognizer { constructor() { super('BlinkIdCombinedRecognizer'); + /** + * Defines whether blured frames filtering is allowed + */ + this.allowBlurFilter = true; + /** * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; diff --git a/BlinkID/recognizers/blinkIdRecognizer.js b/BlinkID/recognizers/blinkIdRecognizer.js index 47ed559..88cb121 100644 --- a/BlinkID/recognizers/blinkIdRecognizer.js +++ b/BlinkID/recognizers/blinkIdRecognizer.js @@ -19,7 +19,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * The additional name information of the document owner. + * The additional address information of the document owner. */ this.additionalAddressInformation = nativeResult.additionalAddressInformation; @@ -74,7 +74,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { this.employer = nativeResult.employer; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; @@ -84,7 +84,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { this.firstName = nativeResult.firstName; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -109,7 +109,7 @@ export class BlinkIdRecognizerResult extends RecognizerResult { this.maritalStatus = nativeResult.maritalStatus; /** - * The data extracted from the machine readable zone. + * The data extracted from the machine readable zone */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -157,34 +157,51 @@ export class BlinkIdRecognizerResult extends RecognizerResult { } /** - * Generic BlinkID recognizer. + * The Blink ID Recognizer is used for scanning Blink ID. */ export class BlinkIdRecognizer extends Recognizer { constructor() { super('BlinkIdRecognizer'); + /** + * Defines whether blured frames filtering is allowed + */ + this.allowBlurFilter = true; + /** * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; diff --git a/BlinkID/recognizers/documentFaceRecognizer.js b/BlinkID/recognizers/documentFaceRecognizer.js index 6e753ff..058b9a6 100644 --- a/BlinkID/recognizers/documentFaceRecognizer.js +++ b/BlinkID/recognizers/documentFaceRecognizer.js @@ -19,22 +19,22 @@ export class DocumentFaceRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * The location of document detection in coordinate system of full input frame. + * Quadrangle represeting corner points of the document within the input image. */ this.documentLocation = nativeResult.documentLocation != null ? new Quadrilateral(nativeResult.documentLocation) : null; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * The location of face detection in coordinate system of cropped full document image. + * Quadrangle represeting corner points of the face image within the input image. */ this.faceLocation = nativeResult.faceLocation != null ? new Quadrilateral(nativeResult.faceLocation) : null; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -42,44 +42,66 @@ export class DocumentFaceRecognizerResult extends RecognizerResult { } /** - * Recognizer for detecting holder's photo on documents containing image. + * Class for configuring Document Face Recognizer Recognizer. + * + * Document Face Recognizer recognizer is used for scanning documents containing face images. */ export class DocumentFaceRecognizer extends Recognizer { constructor() { super('DocumentFaceRecognizer'); /** - * Currently used detector type. + * Type of docment this recognizer will scan. + * + * */ this.detectorType = DocumentFaceDetectorType.TD1; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Minimum number of stable detections required for detection to be successful. + * Defines how many times the same document should be detected before the detector + * returns this document as a result of the deteciton + * + * Higher number means more reliable detection, but slower processing + * + * */ this.numStableDetectionsThreshold = 6; /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; diff --git a/BlinkID/recognizers/mrtdCombinedRecognizer.js b/BlinkID/recognizers/mrtdCombinedRecognizer.js index 4ae4320..731e702 100644 --- a/BlinkID/recognizers/mrtdCombinedRecognizer.js +++ b/BlinkID/recognizers/mrtdCombinedRecognizer.js @@ -19,42 +19,46 @@ export class MrtdCombinedRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * Defines digital signature of recognition results. + * Digital signature of the recognition result. Available only if enabled with signResult property. */ this.digitalSignature = nativeResult.digitalSignature; /** - * Defines digital signature version. + * Version of the digital signature. Available only if enabled with signResult property. */ this.digitalSignatureVersion = nativeResult.digitalSignatureVersion; /** - * Defines result of the data matching algorithm for scanned parts/sides of the document. + * Returns DataMatchResultSuccess if data from scanned parts/sides of the document match, + * DataMatchResultFailed otherwise. For example if date of expiry is scanned from the front and back side + * of the document and values do not match, this method will return DataMatchResultFailed. Result will + * be DataMatchResultSuccess only if scanned values for all fields that are compared are the same. */ this.documentDataMatch = nativeResult.documentDataMatch; /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * Back side image of the document + * back side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentBackImage = nativeResult.fullDocumentBackImage; /** - * Front side image of the document + * front side image of the document if enabled with returnFullDocumentImage property. */ this.fullDocumentFrontImage = nativeResult.fullDocumentFrontImage; /** - * The data extracted from the machine readable zone. + * Returns the Data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; /** - * {true} if recognizer has finished scanning first side and is now scanning back side, + * Returns true if recognizer has finished scanning first side and is now scanning back side, + * false if it's still scanning first side. */ this.scanningFirstSideDone = nativeResult.scanningFirstSideDone; @@ -62,65 +66,95 @@ export class MrtdCombinedRecognizerResult extends RecognizerResult { } /** - * Recognizer for combined reading of face from front side of documents and MRZ from back side of - * * Machine Readable Travel Document. + * MRTD Combined recognizer + * + * MRTD Combined recognizer is used for scanning both front and back side of generic IDs. */ export class MrtdCombinedRecognizer extends Recognizer { constructor() { super('MrtdCombinedRecognizer'); /** - * Whether special characters are allowed. + * Whether special characters are allowed + * + * */ this.allowSpecialCharacters = false; /** - * Whether returning of unparsed results is allowed. + * Whether returning of unparsed results is allowed + * + * */ this.allowUnparsedResults = false; /** - * Whether returning of unverified results is allowed. + * Whether returning of unverified results is allowed + * Unverified result is result that is parsed, but check digits are incorrect. + * + * */ this.allowUnverifiedResults = false; /** - * Currently used detector type. + * Type of document this recognizer will scan. + * + * */ this.detectorType = DocumentFaceDetectorType.TD1; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Minimum number of stable detections required for detection to be successful. + * Defines how many times the same document should be detected before the detector + * returns this document as a result of the deteciton + * + * Higher number means more reliable detection, but slower processing + * + * */ this.numStableDetectionsThreshold = 6; /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; /** - * Defines whether or not recognition result should be signed. + * Whether or not recognition result should be signed. + * + * */ this.signResult = false; diff --git a/BlinkID/recognizers/mrtdRecognizer.js b/BlinkID/recognizers/mrtdRecognizer.js index 074e1d1..3e430f3 100644 --- a/BlinkID/recognizers/mrtdRecognizer.js +++ b/BlinkID/recognizers/mrtdRecognizer.js @@ -19,12 +19,12 @@ export class MrtdRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; /** - * The Data extracted from the machine readable zone. + * Returns the Data extracted from the machine readable zone. */ this.mrzResult = nativeResult.mrzResult != null ? new MrzResult(nativeResult.mrzResult) : null; @@ -32,44 +32,61 @@ export class MrtdRecognizerResult extends RecognizerResult { } /** - * Recognizer that can recognize Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD) + * Recognizer that can recognizer Machine Readable Zone (MRZ) of the Machine Readable Travel Document (MRTD) */ export class MrtdRecognizer extends Recognizer { constructor() { super('MrtdRecognizer'); /** - * Whether special characters are allowed. + * Whether special characters are allowed + * + * */ this.allowSpecialCharacters = false; /** - * Whether returning of unparsed results is allowed. + * Whether returning of unparsed results is allowed + * + * */ this.allowUnparsedResults = false; /** - * Whether returning of unverified results is allowed. + * Whether returning of unverified results is allowed + * Unverified result is result that is parsed, but check digits are incorrect. + * + * */ this.allowUnverifiedResults = false; /** - * Defines whether glare detector is enabled. + * Defines if glare detection should be turned on/off. + * + * */ this.detectGlare = true; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; diff --git a/BlinkID/recognizers/passportRecognizer.js b/BlinkID/recognizers/passportRecognizer.js index 818ee64..51c865e 100644 --- a/BlinkID/recognizers/passportRecognizer.js +++ b/BlinkID/recognizers/passportRecognizer.js @@ -19,12 +19,12 @@ export class PassportRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -44,32 +44,47 @@ export class PassportRecognizer extends Recognizer { super('PassportRecognizer'); /** - * Defines whether glare detector is enabled. + * Defines if glare detection should be turned on/off. + * + * */ this.detectGlare = true; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; diff --git a/BlinkID/recognizers/visaRecognizer.js b/BlinkID/recognizers/visaRecognizer.js index f7453c5..e840093 100644 --- a/BlinkID/recognizers/visaRecognizer.js +++ b/BlinkID/recognizers/visaRecognizer.js @@ -19,12 +19,12 @@ export class VisaRecognizerResult extends RecognizerResult { super(nativeResult.resultState); /** - * Face image from the document + * face image from the document if enabled with returnFaceImage property. */ this.faceImage = nativeResult.faceImage; /** - * Image of the full document + * full document image if enabled with returnFullDocumentImage property. */ this.fullDocumentImage = nativeResult.fullDocumentImage; @@ -44,32 +44,47 @@ export class VisaRecognizer extends Recognizer { super('VisaRecognizer'); /** - * Defines whether glare detector is enabled. + * Defines if glare detection should be turned on/off. + * + * */ this.detectGlare = true; /** - * The DPI (Dots Per Inch) for face image that should be returned. + * Property for setting DPI for face images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.faceImageDpi = 250; /** - * The DPI (Dots Per Inch) for full document image that should be returned. + * Property for setting DPI for full document images + * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception + * + * */ this.fullDocumentImageDpi = 250; /** - * The extension factors for full document image. + * Image extension factors for full document image. + * + * @see ImageExtensionFactors + * */ this.fullDocumentImageExtensionFactors = new ImageExtensionFactors(); /** - * Defines whether face image will be available in result. + * Sets whether face image from ID card should be extracted + * + * */ this.returnFaceImage = false; /** - * Defines whether full document image will be available in + * Sets whether full document image of ID card should be extracted. + * + * */ this.returnFullDocumentImage = false; diff --git a/BlinkID/src/android/build.gradle b/BlinkID/src/android/build.gradle index dcd3134..f29ad9b 100644 --- a/BlinkID/src/android/build.gradle +++ b/BlinkID/src/android/build.gradle @@ -18,7 +18,7 @@ android { dependencies { implementation 'com.facebook.react:react-native:+' - implementation('com.microblink:blinkid:5.0.0@aar') { + implementation('com.microblink:blinkid:5.1.0@aar') { transitive = true } } diff --git a/BlinkID/src/android/src/main/AndroidManifest.xml b/BlinkID/src/android/src/main/AndroidManifest.xml index b58d4a5..fbe7b95 100644 --- a/BlinkID/src/android/src/main/AndroidManifest.xml +++ b/BlinkID/src/android/src/main/AndroidManifest.xml @@ -13,8 +13,4 @@ android:name="android.hardware.camera.autofocus" android:required="false"/> - - \ No newline at end of file diff --git a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIDSerializationUtils.java b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIDSerializationUtils.java index 7c845c2..28e56a6 100644 --- a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIDSerializationUtils.java +++ b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIDSerializationUtils.java @@ -26,6 +26,12 @@ public static WritableMap serializeMrzResult(MrzResult mrzResult) { jsonMrz.putString("applicationReceiptNumber", mrzResult.getApplicationReceiptNumber()); jsonMrz.putString("immigrantCaseNumber", mrzResult.getImmigrantCaseNumber()); jsonMrz.putString("mrzText", mrzResult.getMrzText()); + jsonMrz.putString("sanitizedOpt1", mrzResult.getSanitizedOpt1()); + jsonMrz.putString("sanitizedOpt2", mrzResult.getSanitizedOpt2()); + jsonMrz.putString("sanitizedNationality", mrzResult.getSanitizedNationality()); + jsonMrz.putString("sanitizedIssuer", mrzResult.getSanitizedIssuer()); + jsonMrz.putString("sanitizedDocumentCode", mrzResult.getSanitizedDocumentCode()); + jsonMrz.putString("sanitizedDocumentNumber", mrzResult.getSanitizedDocumentNumber()); jsonMrz.putBoolean("mrzParsed", mrzResult.isMrzParsed()); jsonMrz.putBoolean("mrzVerified", mrzResult.isMrzVerified()); return jsonMrz; diff --git a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java index 084b336..7ef0c89 100644 --- a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java +++ b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdCombinedRecognizerSerialization.java @@ -10,6 +10,9 @@ public final class BlinkIdCombinedRecognizerSerialization implements RecognizerS @Override public Recognizer createRecognizer(ReadableMap jsonRecognizer) { com.microblink.entities.recognizers.blinkid.generic.BlinkIdCombinedRecognizer recognizer = new com.microblink.entities.recognizers.blinkid.generic.BlinkIdCombinedRecognizer(); + if (jsonRecognizer.hasKey("allowBlurFilter")) { + recognizer.setAllowBlurFilter(jsonRecognizer.getBoolean("allowBlurFilter")); + } if (jsonRecognizer.hasKey("faceImageDpi")) { recognizer.setFaceImageDpi(jsonRecognizer.getInt("faceImageDpi")); } diff --git a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java index 32daea3..a1a0052 100644 --- a/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java +++ b/BlinkID/src/android/src/main/java/com/microblink/reactnative/recognizers/serialization/BlinkIdRecognizerSerialization.java @@ -10,6 +10,9 @@ public final class BlinkIdRecognizerSerialization implements RecognizerSerializa @Override public Recognizer createRecognizer(ReadableMap jsonRecognizer) { com.microblink.entities.recognizers.blinkid.generic.BlinkIdRecognizer recognizer = new com.microblink.entities.recognizers.blinkid.generic.BlinkIdRecognizer(); + if (jsonRecognizer.hasKey("allowBlurFilter")) { + recognizer.setAllowBlurFilter(jsonRecognizer.getBoolean("allowBlurFilter")); + } if (jsonRecognizer.hasKey("faceImageDpi")) { recognizer.setFaceImageDpi(jsonRecognizer.getInt("faceImageDpi")); } diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj index 007d386..910226d 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.pbxproj @@ -7,53 +7,53 @@ objects = { /* Begin PBXBuildFile section */ - 11D4452F9C37B52603C634A5 /* MBUsdlRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = DD6B4209B9EF8C2AD22FD07B /* MBUsdlRecognizerWrapper.h */; }; - 135E420D9D89F1067E9695C4 /* MBVisaRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = FB2046A1BFA5623819EEB18F /* MBVisaRecognizerWrapper.m */; }; - 165043C588AEE7D4CD7D4C3A /* MBOverlaySettingsSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = F34B44A0B91320E0AA916151 /* MBOverlaySettingsSerializers.m */; }; - 1A8344D7867A127FFBDF701B /* MBMrtdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = BD254E0DAD6B2432CFB3812D /* MBMrtdCombinedRecognizerWrapper.h */; }; - 1AA74851B7F5DF1301126B5D /* MBMrtdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = CCF9420689AB44BD8707E7FA /* MBMrtdRecognizerWrapper.m */; }; - 1CF74EFCAE13300CEB40044F /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = ACD042F8858DE5CE1209AA43 /* MBSuccessFrameGrabberRecognizerWrapper.m */; }; - 1E674699B8CC40D54780687F /* MBUsdlCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = D09E47D5B8857FF8DF573ECF /* MBUsdlCombinedRecognizerWrapper.m */; }; - 22EB4C199BAF99B7BF6226D6 /* MBOverlaySettingsSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = 38024202A7E3074E49F6E1FC /* MBOverlaySettingsSerializers.h */; }; - 26F546BC9F4DCD183FDAD401 /* MBRecognizerSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = EA6741B8B0E278F5FE506F53 /* MBRecognizerSerializers.m */; }; - 2B604D3DAA96F1987B6734E3 /* MBPassportRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 709E4F91AE7A6823479F3522 /* MBPassportRecognizerWrapper.h */; }; - 309C4354A576906748A10980 /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = DB60478C86E84B3E0AEEDF6D /* MBBlinkIdCombinedRecognizerWrapper.m */; }; - 32C44C31945529EB76EAB228 /* MBMicroblinkModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 841B4F3183A2B13B87FB42CF /* MBMicroblinkModule.m */; }; - 36A546EE8837B75BC9F7F827 /* MBVisaRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 53FE42D9BF07D81893573ACE /* MBVisaRecognizerWrapper.h */; }; - 3E1C45A29350E5FB17D562C3 /* MBRecognizerSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = 32B64604A25996AE9EC1BF1D /* MBRecognizerSerializers.h */; }; - 401F494EAFF7532D33CB6D4C /* .gitignore in Resources */ = {isa = PBXBuildFile; fileRef = 7C6442248A78CF313028F14D /* .gitignore */; }; - 41E54F5C87EDAF2AE457B608 /* MBUsdlCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = CAFF4B9C9BCDD1D4825B0C6A /* MBUsdlCombinedRecognizerWrapper.h */; }; - 47F542B5B4CE00C2E299BFD1 /* MBSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = E5284ED7914ECEBC7CD111E0 /* MBSerializationUtils.m */; }; - 49CB4815B6FC3CEAE424F261 /* MBBlinkIDSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 15EC4FF2BC9AA4874BED3502 /* MBBlinkIDSerializationUtils.h */; }; - 4B8243E78FECFD542A4CC7A1 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = EA9B40F9954509AFBC6579A9 /* MBBlinkIdOverlaySettingsSerialization.h */; }; - 4C0D4A908C52BD8DDBE788C5 /* MBRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 4CFF464E81237A1ADFDD4C83 /* MBRecognizerWrapper.h */; }; - 5B914698A70B6405C7AE0B64 /* MBDocumentOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 87FE41AA9AF76194BE81BE58 /* MBDocumentOverlaySettingsSerialization.m */; }; - 5D5E4014A8498F5E9704CC32 /* MBOverlayViewControllerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 11874CE88BBAF4BE61B63CAD /* MBOverlayViewControllerDelegate.h */; }; - 626B496084A7F76374CBA493 /* MBOverlaySerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 85144A7FBCEDFAB521F67EF0 /* MBOverlaySerializationUtils.h */; }; - 6A3844079D59A34E730A0BD5 /* MBBlinkIdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B9B421396C11A0036F6CE2B /* MBBlinkIdRecognizerWrapper.m */; }; - 6A88420F8E07FE8D8DDFA07B /* MBDocumentFaceRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = C4DE485C9A3B0DD1A9DB3C49 /* MBDocumentFaceRecognizerWrapper.m */; }; - 88FD40EBBF30821E6C79D3D0 /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 079B40C7944365C8D07F15F0 /* MBDocumentVerificationOverlaySettingsSerialization.h */; }; - 947D4C4E9AAD454961239FFB /* MBRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = FC714BC8BFE8903333CBE0A6 /* MBRecognizerWrapper.m */; }; - 951C497EA3D3FE7CA62FF23E /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = AE53498A92BEFCBB025689C9 /* MBDocumentVerificationOverlaySettingsSerialization.m */; }; - 959845AA9E8C8FBB613B7A3A /* MBBlinkIdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 3140419C9B83A1E97EEB0C8A /* MBBlinkIdRecognizerWrapper.h */; }; - 96DF42FD82E45B848A6B3FC2 /* MBSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B474A33BCEBDCA9A58BD8DA /* MBSerializationUtils.h */; }; - 9BC04874BB093B9D037A472C /* MBPassportRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = B190437EAABCD2CCF3220CE1 /* MBPassportRecognizerWrapper.m */; }; + 140E4EC5960AC20C611F3DE1 /* MBUsdlRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 740242BAA4E91C70CE6CFB96 /* MBUsdlRecognizerWrapper.m */; }; + 18CA4041874D0B3D6344E16B /* MBOverlaySerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 6571424CB83D2E54B8CB815F /* MBOverlaySerializationUtils.m */; }; + 1A0142868BA72B0AE13E4EB2 /* MBBlinkIDSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 80AB4E46A53C5A9C176FADE8 /* MBBlinkIDSerializationUtils.m */; }; + 1C79465CBC95851519CEBADE /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = F0F947DDB3911F445CCE68E6 /* MBDocumentVerificationOverlaySettingsSerialization.h */; }; + 1FFF4E99AE04DB71BA29480D /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 365A452589AFCE4C49C59C54 /* MBDocumentVerificationOverlaySettingsSerialization.m */; }; + 4C764F55B3DBF492808880F2 /* MBVisaRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = DE2B4C0FA708FF1C4B1F9E72 /* MBVisaRecognizerWrapper.m */; }; + 4D1A4E95BB09E2347A19A70A /* MBDocumentFaceRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = EA5E438A90DC90F338EF448D /* MBDocumentFaceRecognizerWrapper.m */; }; + 4FFA454C9B8C6A6174A16455 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 1C64494C8027A62518DC1CB8 /* MBBlinkIdOverlaySettingsSerialization.m */; }; + 51B94D729123F72C580B2CCB /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 54D04BC6A6F32B37936A97CB /* MBSuccessFrameGrabberRecognizerWrapper.m */; }; + 6783421EA7C1C5E28FEE937D /* MBDocumentOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = BD5C47B3B0B9160CB06EFFE8 /* MBDocumentOverlaySettingsSerialization.h */; }; + 67EB4441A8F36E405BE6DA81 /* MBMrtdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 570A40FBA7A4136402F67DC3 /* MBMrtdCombinedRecognizerWrapper.m */; }; + 6CC84EFFB35304B147C6B8D3 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = D7294175B39AE1426CDA2A74 /* MBBlinkIdOverlaySettingsSerialization.h */; }; + 7ADA40978856D2F1902D6764 /* MBDocumentOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 45AC4137ABA8C52835839CF3 /* MBDocumentOverlaySettingsSerialization.m */; }; + 7F604A8E97898411246106A7 /* MBBlinkIdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 33A84A5E9DAD2F6E41878372 /* MBBlinkIdRecognizerWrapper.m */; }; + 86AA4F348B4F58CE59E5F08C /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = B99D48CB81874689D3E21911 /* MBSuccessFrameGrabberRecognizerWrapper.h */; }; + 885343B5979B66365962075E /* MBOverlaySettingsSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = 27874CF4963B8BDC207FB87F /* MBOverlaySettingsSerializers.m */; }; + 8BA14ABF872B2B49114EB544 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F14446BAEFF5C886A1A9FF4 /* MBBlinkIdCombinedRecognizerWrapper.h */; }; + 8E004EA7AC3201F2F9FABD5C /* MBDocumentFaceRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = DD8D420A8B5628C16222254D /* MBDocumentFaceRecognizerWrapper.h */; }; + 956044E1A1B3CBC4E612EE56 /* MBBlinkIDSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 9076401E8D0603621D65AB63 /* MBBlinkIDSerializationUtils.h */; }; A27CCA401E9E5D8D00BED675 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA3A1E9E57CF00BED675 /* Accelerate.framework */; }; A27CCA421E9E5D9400BED675 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA411E9E5D9400BED675 /* CoreFoundation.framework */; }; A27CCA431E9E5D9900BED675 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA381E9E57C900BED675 /* AudioToolbox.framework */; }; A27CCA441E9E5DAE00BED675 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A27CCA3E1E9E57DA00BED675 /* CoreMedia.framework */; }; - A517429980E93824DA567BC5 /* MBOverlayVCCreator.h in Headers */ = {isa = PBXBuildFile; fileRef = 27684B3E8A5942BEE882A87E /* MBOverlayVCCreator.h */; }; - A7664AA89FE7F7F8055CC046 /* MBDocumentOverlaySettingsSerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = E42343F79A504DD52BBDE579 /* MBDocumentOverlaySettingsSerialization.h */; }; - B5A043F1B03AF197227B8A01 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 2B23429D816F8B811CC978DA /* MBBlinkIdCombinedRecognizerWrapper.h */; }; - C01042F89A826C94C448C24C /* MBMrtdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C2D47AA8D7DD99AA2611442 /* MBMrtdCombinedRecognizerWrapper.m */; }; - D3F2403EA807EBCABA3E9144 /* MBDocumentFaceRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = CD7B41EE9817CDE1784A5503 /* MBDocumentFaceRecognizerWrapper.h */; }; - DADE470A8AB442061F78B64C /* MBMrtdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = A9ED4234A6060F41AFFE17C0 /* MBMrtdRecognizerWrapper.h */; }; - DD194FD48740B3914BEEBF26 /* MBUsdlRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = E2B2496D87203F09656B0239 /* MBUsdlRecognizerWrapper.m */; }; - E23C460C9D7D3F6DE26FE365 /* MBOverlaySerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = F2A14323B8717250A0915742 /* MBOverlaySerializationUtils.m */; }; - E27F4922ADD48B267F6EAAE9 /* MBMicroblinkModule.h in Headers */ = {isa = PBXBuildFile; fileRef = F6114CD090C93C1276A7246A /* MBMicroblinkModule.h */; }; - EE064E03A12DF46640BAD1B0 /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = F1D94DECA876F42556271E9F /* MBSuccessFrameGrabberRecognizerWrapper.h */; }; - FEA945B48A41EE4C50925785 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C9E43D1965D6B57A0E86014 /* MBBlinkIdOverlaySettingsSerialization.m */; }; - FFD248F8A1C4003A7445B8C1 /* MBBlinkIDSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A6A439FB32DB00F6AB1BEC5 /* MBBlinkIDSerializationUtils.m */; }; + A7E646D5AFD2C0D627DDAAEB /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = D7DF44318CE449F55AE29150 /* MBBlinkIdCombinedRecognizerWrapper.m */; }; + AF234F43B4C0FD01F45D0139 /* MBBlinkIdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = F486460998BD54B7407CB5A1 /* MBBlinkIdRecognizerWrapper.h */; }; + B3AE48ECB407BAFEAC138507 /* MBUsdlRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = A2DD40BEBA7B77E1DCB1D5C1 /* MBUsdlRecognizerWrapper.h */; }; + B741495D9BDBFE21686AB1C7 /* MBOverlaySettingsSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = 17584FF7B8BEEA43E2046BDC /* MBOverlaySettingsSerializers.h */; }; + BA344DC0A1832E41885858BC /* MBMrtdRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = D5764C8BBB06019A6232D38C /* MBMrtdRecognizerWrapper.m */; }; + BB5E4A7D85365D946862C8D1 /* MBMrtdCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 30184CBE84243F86513A7668 /* MBMrtdCombinedRecognizerWrapper.h */; }; + C1F6459FABDE01823FCD2BFB /* MBRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = AD814C97B562D96495F1785F /* MBRecognizerWrapper.h */; }; + C3F6462F84FA3A69EC61FF75 /* MBSerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 62EC4424A4C6362AA8C70E56 /* MBSerializationUtils.h */; }; + C9334706A41E520FD3DC5943 /* MBRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 1ACE4C86972DFB21898B466D /* MBRecognizerWrapper.m */; }; + CB814A518D573C31689F23B6 /* MBOverlayViewControllerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 284843CC8ADD71FE61ABDE51 /* MBOverlayViewControllerDelegate.h */; }; + D23D456BB06744AB052A6FE7 /* MBOverlayVCCreator.h in Headers */ = {isa = PBXBuildFile; fileRef = F8934BCF933B4952EC33E44B /* MBOverlayVCCreator.h */; }; + D8F84FA5B3792B29B524F87B /* MBVisaRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 89774FBE86FCE00A4937580D /* MBVisaRecognizerWrapper.h */; }; + D95F45D1B9E03B8EA5EEEF61 /* MBRecognizerSerializers.h in Headers */ = {isa = PBXBuildFile; fileRef = B74F4AB9B97384F1CFCD600D /* MBRecognizerSerializers.h */; }; + DA8D4C4CB0FD3F9664C59601 /* MBMicroblinkModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 37204A1A9F7BBCA2D3BCAE41 /* MBMicroblinkModule.h */; }; + E1624F98A15B2BF3BCBB634E /* MBOverlaySerializationUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F7549169E4A9031A21D9135 /* MBOverlaySerializationUtils.h */; }; + E7E3439EB1C1A75602F5ADBD /* MBMicroblinkModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B044DA8B4BAD4ADFEC1CBA5 /* MBMicroblinkModule.m */; }; + E7F84AEEB5D75F69C07EDD80 /* MBUsdlCombinedRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 371D4C099AF39B41550D36CC /* MBUsdlCombinedRecognizerWrapper.h */; }; + EA13430495ED0EECC3EE79E2 /* MBRecognizerSerializers.m in Sources */ = {isa = PBXBuildFile; fileRef = 705047D1AB5182D797F9B663 /* MBRecognizerSerializers.m */; }; + EB56467D9B235340FC727F75 /* MBUsdlCombinedRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = F1194888A92D6AB57F0DC2A2 /* MBUsdlCombinedRecognizerWrapper.m */; }; + F16248EC8DA0EDE4A66F593C /* MBSerializationUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = D356452C81EE046A3A026B71 /* MBSerializationUtils.m */; }; + F4364508815549F175E21C8A /* MBMrtdRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = D5B14C0C9E0F5C6F4A6F9218 /* MBMrtdRecognizerWrapper.h */; }; + F4BC40B484CE083303516C15 /* MBPassportRecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = CABD44499C604BB734B744F4 /* MBPassportRecognizerWrapper.h */; }; + F70E4057919CD02E9285BA50 /* .gitignore in Resources */ = {isa = PBXBuildFile; fileRef = 77D24E5CA5725E6C2744A467 /* .gitignore */; }; + F81943B2832DBEFCCEA00391 /* MBPassportRecognizerWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 428E4B39814E007D2901DA99 /* MBPassportRecognizerWrapper.m */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -69,55 +69,55 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 079B40C7944365C8D07F15F0 /* MBDocumentVerificationOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentVerificationOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; - 0B9B421396C11A0036F6CE2B /* MBBlinkIdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 11874CE88BBAF4BE61B63CAD /* MBOverlayViewControllerDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayViewControllerDelegate.h; path = MicroblinkModule/Overlays/MBOverlayViewControllerDelegate.h; sourceTree = SOURCE_ROOT; }; - 15EC4FF2BC9AA4874BED3502 /* MBBlinkIDSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIDSerializationUtils.h; path = MicroblinkModule/MBBlinkIDSerializationUtils.h; sourceTree = SOURCE_ROOT; }; - 27684B3E8A5942BEE882A87E /* MBOverlayVCCreator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayVCCreator.h; path = MicroblinkModule/Overlays/MBOverlayVCCreator.h; sourceTree = SOURCE_ROOT; }; - 2B23429D816F8B811CC978DA /* MBBlinkIdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 2C2D47AA8D7DD99AA2611442 /* MBMrtdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - 3140419C9B83A1E97EEB0C8A /* MBBlinkIdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 32B64604A25996AE9EC1BF1D /* MBRecognizerSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerSerializers.h; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.h; sourceTree = SOURCE_ROOT; }; - 38024202A7E3074E49F6E1FC /* MBOverlaySettingsSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySettingsSerializers.h; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.h; sourceTree = SOURCE_ROOT; }; - 4B474A33BCEBDCA9A58BD8DA /* MBSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSerializationUtils.h; path = MicroblinkModule/MBSerializationUtils.h; sourceTree = SOURCE_ROOT; }; - 4CFF464E81237A1ADFDD4C83 /* MBRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerWrapper.h; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 53FE42D9BF07D81893573ACE /* MBVisaRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBVisaRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 709E4F91AE7A6823479F3522 /* MBPassportRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBPassportRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - 7C6442248A78CF313028F14D /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; name = .gitignore; path = MicroblinkModule/Overlays/Serialization/.gitignore; sourceTree = SOURCE_ROOT; }; - 841B4F3183A2B13B87FB42CF /* MBMicroblinkModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMicroblinkModule.m; path = MicroblinkModule/MBMicroblinkModule.m; sourceTree = SOURCE_ROOT; }; - 85144A7FBCEDFAB521F67EF0 /* MBOverlaySerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySerializationUtils.h; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.h; sourceTree = SOURCE_ROOT; }; - 87FE41AA9AF76194BE81BE58 /* MBDocumentOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; - 8A6A439FB32DB00F6AB1BEC5 /* MBBlinkIDSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIDSerializationUtils.m; path = MicroblinkModule/MBBlinkIDSerializationUtils.m; sourceTree = SOURCE_ROOT; }; - 9C9E43D1965D6B57A0E86014 /* MBBlinkIdOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; + 17584FF7B8BEEA43E2046BDC /* MBOverlaySettingsSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySettingsSerializers.h; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.h; sourceTree = SOURCE_ROOT; }; + 1ACE4C86972DFB21898B466D /* MBRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerWrapper.m; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 1C64494C8027A62518DC1CB8 /* MBBlinkIdOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; + 1F14446BAEFF5C886A1A9FF4 /* MBBlinkIdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 27874CF4963B8BDC207FB87F /* MBOverlaySettingsSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySettingsSerializers.m; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.m; sourceTree = SOURCE_ROOT; }; + 284843CC8ADD71FE61ABDE51 /* MBOverlayViewControllerDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayViewControllerDelegate.h; path = MicroblinkModule/Overlays/MBOverlayViewControllerDelegate.h; sourceTree = SOURCE_ROOT; }; + 30184CBE84243F86513A7668 /* MBMrtdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 33A84A5E9DAD2F6E41878372 /* MBBlinkIdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 365A452589AFCE4C49C59C54 /* MBDocumentVerificationOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentVerificationOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; + 371D4C099AF39B41550D36CC /* MBUsdlCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 37204A1A9F7BBCA2D3BCAE41 /* MBMicroblinkModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMicroblinkModule.h; path = MicroblinkModule/MBMicroblinkModule.h; sourceTree = SOURCE_ROOT; }; + 428E4B39814E007D2901DA99 /* MBPassportRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBPassportRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 45AC4137ABA8C52835839CF3 /* MBDocumentOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; + 4F7549169E4A9031A21D9135 /* MBOverlaySerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlaySerializationUtils.h; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.h; sourceTree = SOURCE_ROOT; }; + 54D04BC6A6F32B37936A97CB /* MBSuccessFrameGrabberRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSuccessFrameGrabberRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 570A40FBA7A4136402F67DC3 /* MBMrtdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 62EC4424A4C6362AA8C70E56 /* MBSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSerializationUtils.h; path = MicroblinkModule/MBSerializationUtils.h; sourceTree = SOURCE_ROOT; }; + 6571424CB83D2E54B8CB815F /* MBOverlaySerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySerializationUtils.m; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.m; sourceTree = SOURCE_ROOT; }; + 705047D1AB5182D797F9B663 /* MBRecognizerSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerSerializers.m; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.m; sourceTree = SOURCE_ROOT; }; + 740242BAA4E91C70CE6CFB96 /* MBUsdlRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + 77D24E5CA5725E6C2744A467 /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; name = .gitignore; path = MicroblinkModule/Overlays/Serialization/.gitignore; sourceTree = SOURCE_ROOT; }; + 80AB4E46A53C5A9C176FADE8 /* MBBlinkIDSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIDSerializationUtils.m; path = MicroblinkModule/MBBlinkIDSerializationUtils.m; sourceTree = SOURCE_ROOT; }; + 89774FBE86FCE00A4937580D /* MBVisaRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBVisaRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + 9076401E8D0603621D65AB63 /* MBBlinkIDSerializationUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIDSerializationUtils.h; path = MicroblinkModule/MBBlinkIDSerializationUtils.h; sourceTree = SOURCE_ROOT; }; + 9B044DA8B4BAD4ADFEC1CBA5 /* MBMicroblinkModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMicroblinkModule.m; path = MicroblinkModule/MBMicroblinkModule.m; sourceTree = SOURCE_ROOT; }; A27CCA2B1E9E57A500BED675 /* libMicroblinkModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMicroblinkModule.a; sourceTree = BUILT_PRODUCTS_DIR; }; A27CCA381E9E57C900BED675 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; A27CCA3A1E9E57CF00BED675 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; }; A27CCA3C1E9E57D600BED675 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; A27CCA3E1E9E57DA00BED675 /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; A27CCA411E9E5D9400BED675 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; - A9ED4234A6060F41AFFE17C0 /* MBMrtdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - ACD042F8858DE5CE1209AA43 /* MBSuccessFrameGrabberRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSuccessFrameGrabberRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - AE53498A92BEFCBB025689C9 /* MBDocumentVerificationOverlaySettingsSerialization.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentVerificationOverlaySettingsSerialization.m; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.m; sourceTree = SOURCE_ROOT; }; - B190437EAABCD2CCF3220CE1 /* MBPassportRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBPassportRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - BD254E0DAD6B2432CFB3812D /* MBMrtdCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - C4DE485C9A3B0DD1A9DB3C49 /* MBDocumentFaceRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentFaceRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - CAFF4B9C9BCDD1D4825B0C6A /* MBUsdlCombinedRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlCombinedRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - CCF9420689AB44BD8707E7FA /* MBMrtdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - CD7B41EE9817CDE1784A5503 /* MBDocumentFaceRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentFaceRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - D09E47D5B8857FF8DF573ECF /* MBUsdlCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - DB60478C86E84B3E0AEEDF6D /* MBBlinkIdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - DD6B4209B9EF8C2AD22FD07B /* MBUsdlRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - E2B2496D87203F09656B0239 /* MBUsdlRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - E42343F79A504DD52BBDE579 /* MBDocumentOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; - E5284ED7914ECEBC7CD111E0 /* MBSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSerializationUtils.m; path = MicroblinkModule/MBSerializationUtils.m; sourceTree = SOURCE_ROOT; }; - EA6741B8B0E278F5FE506F53 /* MBRecognizerSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerSerializers.m; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.m; sourceTree = SOURCE_ROOT; }; - EA9B40F9954509AFBC6579A9 /* MBBlinkIdOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; - F1D94DECA876F42556271E9F /* MBSuccessFrameGrabberRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSuccessFrameGrabberRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; - F2A14323B8717250A0915742 /* MBOverlaySerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySerializationUtils.m; path = MicroblinkModule/Overlays/MBOverlaySerializationUtils.m; sourceTree = SOURCE_ROOT; }; - F34B44A0B91320E0AA916151 /* MBOverlaySettingsSerializers.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBOverlaySettingsSerializers.m; path = MicroblinkModule/Overlays/MBOverlaySettingsSerializers.m; sourceTree = SOURCE_ROOT; }; - F6114CD090C93C1276A7246A /* MBMicroblinkModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMicroblinkModule.h; path = MicroblinkModule/MBMicroblinkModule.h; sourceTree = SOURCE_ROOT; }; - FB2046A1BFA5623819EEB18F /* MBVisaRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBVisaRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; - FC714BC8BFE8903333CBE0A6 /* MBRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBRecognizerWrapper.m; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + A2DD40BEBA7B77E1DCB1D5C1 /* MBUsdlRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBUsdlRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + AD814C97B562D96495F1785F /* MBRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerWrapper.h; path = MicroblinkModule/Recognizers/MBRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + B74F4AB9B97384F1CFCD600D /* MBRecognizerSerializers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBRecognizerSerializers.h; path = MicroblinkModule/Recognizers/MBRecognizerSerializers.h; sourceTree = SOURCE_ROOT; }; + B99D48CB81874689D3E21911 /* MBSuccessFrameGrabberRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBSuccessFrameGrabberRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBSuccessFrameGrabberRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + BD5C47B3B0B9160CB06EFFE8 /* MBDocumentOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; + CABD44499C604BB734B744F4 /* MBPassportRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBPassportRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBPassportRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + D356452C81EE046A3A026B71 /* MBSerializationUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBSerializationUtils.m; path = MicroblinkModule/MBSerializationUtils.m; sourceTree = SOURCE_ROOT; }; + D5764C8BBB06019A6232D38C /* MBMrtdRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBMrtdRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + D5B14C0C9E0F5C6F4A6F9218 /* MBMrtdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBMrtdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBMrtdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + D7294175B39AE1426CDA2A74 /* MBBlinkIdOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBBlinkIdOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; + D7DF44318CE449F55AE29150 /* MBBlinkIdCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBBlinkIdCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + DD8D420A8B5628C16222254D /* MBDocumentFaceRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentFaceRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + DE2B4C0FA708FF1C4B1F9E72 /* MBVisaRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBVisaRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBVisaRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + EA5E438A90DC90F338EF448D /* MBDocumentFaceRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBDocumentFaceRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBDocumentFaceRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + F0F947DDB3911F445CCE68E6 /* MBDocumentVerificationOverlaySettingsSerialization.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBDocumentVerificationOverlaySettingsSerialization.h; path = MicroblinkModule/Overlays/Serialization/MBDocumentVerificationOverlaySettingsSerialization.h; sourceTree = SOURCE_ROOT; }; + F1194888A92D6AB57F0DC2A2 /* MBUsdlCombinedRecognizerWrapper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MBUsdlCombinedRecognizerWrapper.m; path = MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m; sourceTree = SOURCE_ROOT; }; + F486460998BD54B7407CB5A1 /* MBBlinkIdRecognizerWrapper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBBlinkIdRecognizerWrapper.h; path = MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.h; sourceTree = SOURCE_ROOT; }; + F8934BCF933B4952EC33E44B /* MBOverlayVCCreator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MBOverlayVCCreator.h; path = MicroblinkModule/Overlays/MBOverlayVCCreator.h; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -135,72 +135,75 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 56254B84BF3A8A6805322130 /* Overlays */ = { + 5EDB4437B114BE146DE2789A /* MicroblinkModule */ = { isa = PBXGroup; children = ( - F2A14323B8717250A0915742 /* MBOverlaySerializationUtils.m */, - 9A5F47139CFB810DD0FCA58B /* Serialization */, - 27684B3E8A5942BEE882A87E /* MBOverlayVCCreator.h */, - F34B44A0B91320E0AA916151 /* MBOverlaySettingsSerializers.m */, - 85144A7FBCEDFAB521F67EF0 /* MBOverlaySerializationUtils.h */, - 11874CE88BBAF4BE61B63CAD /* MBOverlayViewControllerDelegate.h */, - 38024202A7E3074E49F6E1FC /* MBOverlaySettingsSerializers.h */, + 80AB4E46A53C5A9C176FADE8 /* MBBlinkIDSerializationUtils.m */, + 775E40EE8D5485F12482DD2A /* Overlays */, + D356452C81EE046A3A026B71 /* MBSerializationUtils.m */, + 9B044DA8B4BAD4ADFEC1CBA5 /* MBMicroblinkModule.m */, + 9076401E8D0603621D65AB63 /* MBBlinkIDSerializationUtils.h */, + A29C418EA7D526553039217A /* Recognizers */, + 37204A1A9F7BBCA2D3BCAE41 /* MBMicroblinkModule.h */, + 62EC4424A4C6362AA8C70E56 /* MBSerializationUtils.h */, ); - name = Overlays; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Overlays"; + name = MicroblinkModule; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule"; sourceTree = ""; }; - 68DF494D9E34867C010B46A2 /* Recognizers */ = { + 6B374D04ADF8307EA5E54A1D /* Wrappers */ = { isa = PBXGroup; children = ( - 4CFF464E81237A1ADFDD4C83 /* MBRecognizerWrapper.h */, - 6CDF4C46BC822BBF1A6CE66A /* Wrappers */, - 32B64604A25996AE9EC1BF1D /* MBRecognizerSerializers.h */, - FC714BC8BFE8903333CBE0A6 /* MBRecognizerWrapper.m */, - EA6741B8B0E278F5FE506F53 /* MBRecognizerSerializers.m */, + EA5E438A90DC90F338EF448D /* MBDocumentFaceRecognizerWrapper.m */, + DE2B4C0FA708FF1C4B1F9E72 /* MBVisaRecognizerWrapper.m */, + 1F14446BAEFF5C886A1A9FF4 /* MBBlinkIdCombinedRecognizerWrapper.h */, + B99D48CB81874689D3E21911 /* MBSuccessFrameGrabberRecognizerWrapper.h */, + D5764C8BBB06019A6232D38C /* MBMrtdRecognizerWrapper.m */, + A2DD40BEBA7B77E1DCB1D5C1 /* MBUsdlRecognizerWrapper.h */, + 570A40FBA7A4136402F67DC3 /* MBMrtdCombinedRecognizerWrapper.m */, + 428E4B39814E007D2901DA99 /* MBPassportRecognizerWrapper.m */, + F1194888A92D6AB57F0DC2A2 /* MBUsdlCombinedRecognizerWrapper.m */, + F486460998BD54B7407CB5A1 /* MBBlinkIdRecognizerWrapper.h */, + 89774FBE86FCE00A4937580D /* MBVisaRecognizerWrapper.h */, + DD8D420A8B5628C16222254D /* MBDocumentFaceRecognizerWrapper.h */, + 30184CBE84243F86513A7668 /* MBMrtdCombinedRecognizerWrapper.h */, + 740242BAA4E91C70CE6CFB96 /* MBUsdlRecognizerWrapper.m */, + D7DF44318CE449F55AE29150 /* MBBlinkIdCombinedRecognizerWrapper.m */, + 54D04BC6A6F32B37936A97CB /* MBSuccessFrameGrabberRecognizerWrapper.m */, + D5B14C0C9E0F5C6F4A6F9218 /* MBMrtdRecognizerWrapper.h */, + 33A84A5E9DAD2F6E41878372 /* MBBlinkIdRecognizerWrapper.m */, + 371D4C099AF39B41550D36CC /* MBUsdlCombinedRecognizerWrapper.h */, + CABD44499C604BB734B744F4 /* MBPassportRecognizerWrapper.h */, ); - name = Recognizers; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers"; + name = Wrappers; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers"; sourceTree = ""; }; - 6CDF4C46BC822BBF1A6CE66A /* Wrappers */ = { + 775E40EE8D5485F12482DD2A /* Overlays */ = { isa = PBXGroup; children = ( - C4DE485C9A3B0DD1A9DB3C49 /* MBDocumentFaceRecognizerWrapper.m */, - FB2046A1BFA5623819EEB18F /* MBVisaRecognizerWrapper.m */, - 2B23429D816F8B811CC978DA /* MBBlinkIdCombinedRecognizerWrapper.h */, - F1D94DECA876F42556271E9F /* MBSuccessFrameGrabberRecognizerWrapper.h */, - CCF9420689AB44BD8707E7FA /* MBMrtdRecognizerWrapper.m */, - DD6B4209B9EF8C2AD22FD07B /* MBUsdlRecognizerWrapper.h */, - 2C2D47AA8D7DD99AA2611442 /* MBMrtdCombinedRecognizerWrapper.m */, - B190437EAABCD2CCF3220CE1 /* MBPassportRecognizerWrapper.m */, - D09E47D5B8857FF8DF573ECF /* MBUsdlCombinedRecognizerWrapper.m */, - 3140419C9B83A1E97EEB0C8A /* MBBlinkIdRecognizerWrapper.h */, - 53FE42D9BF07D81893573ACE /* MBVisaRecognizerWrapper.h */, - CD7B41EE9817CDE1784A5503 /* MBDocumentFaceRecognizerWrapper.h */, - BD254E0DAD6B2432CFB3812D /* MBMrtdCombinedRecognizerWrapper.h */, - E2B2496D87203F09656B0239 /* MBUsdlRecognizerWrapper.m */, - DB60478C86E84B3E0AEEDF6D /* MBBlinkIdCombinedRecognizerWrapper.m */, - ACD042F8858DE5CE1209AA43 /* MBSuccessFrameGrabberRecognizerWrapper.m */, - A9ED4234A6060F41AFFE17C0 /* MBMrtdRecognizerWrapper.h */, - 0B9B421396C11A0036F6CE2B /* MBBlinkIdRecognizerWrapper.m */, - CAFF4B9C9BCDD1D4825B0C6A /* MBUsdlCombinedRecognizerWrapper.h */, - 709E4F91AE7A6823479F3522 /* MBPassportRecognizerWrapper.h */, + 6571424CB83D2E54B8CB815F /* MBOverlaySerializationUtils.m */, + 821D4AC3A43D7B3F50E015FB /* Serialization */, + F8934BCF933B4952EC33E44B /* MBOverlayVCCreator.h */, + 27874CF4963B8BDC207FB87F /* MBOverlaySettingsSerializers.m */, + 4F7549169E4A9031A21D9135 /* MBOverlaySerializationUtils.h */, + 284843CC8ADD71FE61ABDE51 /* MBOverlayViewControllerDelegate.h */, + 17584FF7B8BEEA43E2046BDC /* MBOverlaySettingsSerializers.h */, ); - name = Wrappers; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers"; + name = Overlays; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Overlays"; sourceTree = ""; }; - 9A5F47139CFB810DD0FCA58B /* Serialization */ = { + 821D4AC3A43D7B3F50E015FB /* Serialization */ = { isa = PBXGroup; children = ( - E42343F79A504DD52BBDE579 /* MBDocumentOverlaySettingsSerialization.h */, - AE53498A92BEFCBB025689C9 /* MBDocumentVerificationOverlaySettingsSerialization.m */, - 9C9E43D1965D6B57A0E86014 /* MBBlinkIdOverlaySettingsSerialization.m */, - 87FE41AA9AF76194BE81BE58 /* MBDocumentOverlaySettingsSerialization.m */, - 7C6442248A78CF313028F14D /* .gitignore */, - 079B40C7944365C8D07F15F0 /* MBDocumentVerificationOverlaySettingsSerialization.h */, - EA9B40F9954509AFBC6579A9 /* MBBlinkIdOverlaySettingsSerialization.h */, + BD5C47B3B0B9160CB06EFFE8 /* MBDocumentOverlaySettingsSerialization.h */, + 365A452589AFCE4C49C59C54 /* MBDocumentVerificationOverlaySettingsSerialization.m */, + 1C64494C8027A62518DC1CB8 /* MBBlinkIdOverlaySettingsSerialization.m */, + 45AC4137ABA8C52835839CF3 /* MBDocumentOverlaySettingsSerialization.m */, + 77D24E5CA5725E6C2744A467 /* .gitignore */, + F0F947DDB3911F445CCE68E6 /* MBDocumentVerificationOverlaySettingsSerialization.h */, + D7294175B39AE1426CDA2A74 /* MBBlinkIdOverlaySettingsSerialization.h */, ); name = Serialization; path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Overlays/Serialization"; @@ -211,7 +214,7 @@ children = ( A27CCA2C1E9E57A500BED675 /* Products */, A27CCA371E9E57C900BED675 /* Frameworks */, - FECB42808D00E593423354D3 /* MicroblinkModule */, + 5EDB4437B114BE146DE2789A /* MicroblinkModule */, ); sourceTree = ""; }; @@ -235,51 +238,48 @@ name = Frameworks; sourceTree = ""; }; - FECB42808D00E593423354D3 /* MicroblinkModule */ = { + A29C418EA7D526553039217A /* Recognizers */ = { isa = PBXGroup; children = ( - 8A6A439FB32DB00F6AB1BEC5 /* MBBlinkIDSerializationUtils.m */, - 56254B84BF3A8A6805322130 /* Overlays */, - E5284ED7914ECEBC7CD111E0 /* MBSerializationUtils.m */, - 841B4F3183A2B13B87FB42CF /* MBMicroblinkModule.m */, - 15EC4FF2BC9AA4874BED3502 /* MBBlinkIDSerializationUtils.h */, - 68DF494D9E34867C010B46A2 /* Recognizers */, - F6114CD090C93C1276A7246A /* MBMicroblinkModule.h */, - 4B474A33BCEBDCA9A58BD8DA /* MBSerializationUtils.h */, + AD814C97B562D96495F1785F /* MBRecognizerWrapper.h */, + 6B374D04ADF8307EA5E54A1D /* Wrappers */, + B74F4AB9B97384F1CFCD600D /* MBRecognizerSerializers.h */, + 1ACE4C86972DFB21898B466D /* MBRecognizerWrapper.m */, + 705047D1AB5182D797F9B663 /* MBRecognizerSerializers.m */, ); - name = MicroblinkModule; - path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule"; + name = Recognizers; + path = "/Users/juraskrlec/Documents/projects/blinkid-react-native/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers"; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 35244B1D9A02DEC1C1095574 /* Headers */ = { + 395D40EBB0780186F43A1D9F /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - A7664AA89FE7F7F8055CC046 /* MBDocumentOverlaySettingsSerialization.h in Headers */, - 88FD40EBBF30821E6C79D3D0 /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */, - 4B8243E78FECFD542A4CC7A1 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */, - A517429980E93824DA567BC5 /* MBOverlayVCCreator.h in Headers */, - 626B496084A7F76374CBA493 /* MBOverlaySerializationUtils.h in Headers */, - 5D5E4014A8498F5E9704CC32 /* MBOverlayViewControllerDelegate.h in Headers */, - 22EB4C199BAF99B7BF6226D6 /* MBOverlaySettingsSerializers.h in Headers */, - 49CB4815B6FC3CEAE424F261 /* MBBlinkIDSerializationUtils.h in Headers */, - 4C0D4A908C52BD8DDBE788C5 /* MBRecognizerWrapper.h in Headers */, - B5A043F1B03AF197227B8A01 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */, - EE064E03A12DF46640BAD1B0 /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */, - 11D4452F9C37B52603C634A5 /* MBUsdlRecognizerWrapper.h in Headers */, - 959845AA9E8C8FBB613B7A3A /* MBBlinkIdRecognizerWrapper.h in Headers */, - 36A546EE8837B75BC9F7F827 /* MBVisaRecognizerWrapper.h in Headers */, - D3F2403EA807EBCABA3E9144 /* MBDocumentFaceRecognizerWrapper.h in Headers */, - 1A8344D7867A127FFBDF701B /* MBMrtdCombinedRecognizerWrapper.h in Headers */, - DADE470A8AB442061F78B64C /* MBMrtdRecognizerWrapper.h in Headers */, - 41E54F5C87EDAF2AE457B608 /* MBUsdlCombinedRecognizerWrapper.h in Headers */, - 2B604D3DAA96F1987B6734E3 /* MBPassportRecognizerWrapper.h in Headers */, - 3E1C45A29350E5FB17D562C3 /* MBRecognizerSerializers.h in Headers */, - E27F4922ADD48B267F6EAAE9 /* MBMicroblinkModule.h in Headers */, - 96DF42FD82E45B848A6B3FC2 /* MBSerializationUtils.h in Headers */, + 6783421EA7C1C5E28FEE937D /* MBDocumentOverlaySettingsSerialization.h in Headers */, + 1C79465CBC95851519CEBADE /* MBDocumentVerificationOverlaySettingsSerialization.h in Headers */, + 6CC84EFFB35304B147C6B8D3 /* MBBlinkIdOverlaySettingsSerialization.h in Headers */, + D23D456BB06744AB052A6FE7 /* MBOverlayVCCreator.h in Headers */, + E1624F98A15B2BF3BCBB634E /* MBOverlaySerializationUtils.h in Headers */, + CB814A518D573C31689F23B6 /* MBOverlayViewControllerDelegate.h in Headers */, + B741495D9BDBFE21686AB1C7 /* MBOverlaySettingsSerializers.h in Headers */, + 956044E1A1B3CBC4E612EE56 /* MBBlinkIDSerializationUtils.h in Headers */, + C1F6459FABDE01823FCD2BFB /* MBRecognizerWrapper.h in Headers */, + 8BA14ABF872B2B49114EB544 /* MBBlinkIdCombinedRecognizerWrapper.h in Headers */, + 86AA4F348B4F58CE59E5F08C /* MBSuccessFrameGrabberRecognizerWrapper.h in Headers */, + B3AE48ECB407BAFEAC138507 /* MBUsdlRecognizerWrapper.h in Headers */, + AF234F43B4C0FD01F45D0139 /* MBBlinkIdRecognizerWrapper.h in Headers */, + D8F84FA5B3792B29B524F87B /* MBVisaRecognizerWrapper.h in Headers */, + 8E004EA7AC3201F2F9FABD5C /* MBDocumentFaceRecognizerWrapper.h in Headers */, + BB5E4A7D85365D946862C8D1 /* MBMrtdCombinedRecognizerWrapper.h in Headers */, + F4364508815549F175E21C8A /* MBMrtdRecognizerWrapper.h in Headers */, + E7F84AEEB5D75F69C07EDD80 /* MBUsdlCombinedRecognizerWrapper.h in Headers */, + F4BC40B484CE083303516C15 /* MBPassportRecognizerWrapper.h in Headers */, + D95F45D1B9E03B8EA5EEEF61 /* MBRecognizerSerializers.h in Headers */, + DA8D4C4CB0FD3F9664C59601 /* MBMicroblinkModule.h in Headers */, + C3F6462F84FA3A69EC61FF75 /* MBSerializationUtils.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -293,8 +293,8 @@ A27CCA271E9E57A500BED675 /* Sources */, A27CCA281E9E57A500BED675 /* Frameworks */, A27CCA291E9E57A500BED675 /* CopyFiles */, - 35244B1D9A02DEC1C1095574 /* Headers */, - 1A5E44C191C194A762CC6F34 /* Resources */, + 395D40EBB0780186F43A1D9F /* Headers */, + 317F4D5E97D19C32E3126647 /* Resources */, ); buildRules = ( ); @@ -326,6 +326,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, ); mainGroup = A27CCA221E9E57A500BED675; @@ -339,11 +340,11 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 1A5E44C191C194A762CC6F34 /* Resources */ = { + 317F4D5E97D19C32E3126647 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 401F494EAFF7532D33CB6D4C /* .gitignore in Resources */, + F70E4057919CD02E9285BA50 /* .gitignore in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -354,26 +355,26 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - FFD248F8A1C4003A7445B8C1 /* MBBlinkIDSerializationUtils.m in Sources */, - E23C460C9D7D3F6DE26FE365 /* MBOverlaySerializationUtils.m in Sources */, - 951C497EA3D3FE7CA62FF23E /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */, - FEA945B48A41EE4C50925785 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */, - 5B914698A70B6405C7AE0B64 /* MBDocumentOverlaySettingsSerialization.m in Sources */, - 165043C588AEE7D4CD7D4C3A /* MBOverlaySettingsSerializers.m in Sources */, - 47F542B5B4CE00C2E299BFD1 /* MBSerializationUtils.m in Sources */, - 32C44C31945529EB76EAB228 /* MBMicroblinkModule.m in Sources */, - 6A88420F8E07FE8D8DDFA07B /* MBDocumentFaceRecognizerWrapper.m in Sources */, - 135E420D9D89F1067E9695C4 /* MBVisaRecognizerWrapper.m in Sources */, - 1AA74851B7F5DF1301126B5D /* MBMrtdRecognizerWrapper.m in Sources */, - C01042F89A826C94C448C24C /* MBMrtdCombinedRecognizerWrapper.m in Sources */, - 9BC04874BB093B9D037A472C /* MBPassportRecognizerWrapper.m in Sources */, - 1E674699B8CC40D54780687F /* MBUsdlCombinedRecognizerWrapper.m in Sources */, - DD194FD48740B3914BEEBF26 /* MBUsdlRecognizerWrapper.m in Sources */, - 309C4354A576906748A10980 /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */, - 1CF74EFCAE13300CEB40044F /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */, - 6A3844079D59A34E730A0BD5 /* MBBlinkIdRecognizerWrapper.m in Sources */, - 947D4C4E9AAD454961239FFB /* MBRecognizerWrapper.m in Sources */, - 26F546BC9F4DCD183FDAD401 /* MBRecognizerSerializers.m in Sources */, + 1A0142868BA72B0AE13E4EB2 /* MBBlinkIDSerializationUtils.m in Sources */, + 18CA4041874D0B3D6344E16B /* MBOverlaySerializationUtils.m in Sources */, + 1FFF4E99AE04DB71BA29480D /* MBDocumentVerificationOverlaySettingsSerialization.m in Sources */, + 4FFA454C9B8C6A6174A16455 /* MBBlinkIdOverlaySettingsSerialization.m in Sources */, + 7ADA40978856D2F1902D6764 /* MBDocumentOverlaySettingsSerialization.m in Sources */, + 885343B5979B66365962075E /* MBOverlaySettingsSerializers.m in Sources */, + F16248EC8DA0EDE4A66F593C /* MBSerializationUtils.m in Sources */, + E7E3439EB1C1A75602F5ADBD /* MBMicroblinkModule.m in Sources */, + 4D1A4E95BB09E2347A19A70A /* MBDocumentFaceRecognizerWrapper.m in Sources */, + 4C764F55B3DBF492808880F2 /* MBVisaRecognizerWrapper.m in Sources */, + BA344DC0A1832E41885858BC /* MBMrtdRecognizerWrapper.m in Sources */, + 67EB4441A8F36E405BE6DA81 /* MBMrtdCombinedRecognizerWrapper.m in Sources */, + F81943B2832DBEFCCEA00391 /* MBPassportRecognizerWrapper.m in Sources */, + EB56467D9B235340FC727F75 /* MBUsdlCombinedRecognizerWrapper.m in Sources */, + 140E4EC5960AC20C611F3DE1 /* MBUsdlRecognizerWrapper.m in Sources */, + A7E646D5AFD2C0D627DDAAEB /* MBBlinkIdCombinedRecognizerWrapper.m in Sources */, + 51B94D729123F72C580B2CCB /* MBSuccessFrameGrabberRecognizerWrapper.m in Sources */, + 7F604A8E97898411246106A7 /* MBBlinkIdRecognizerWrapper.m in Sources */, + C9334706A41E520FD3DC5943 /* MBRecognizerWrapper.m in Sources */, + EA13430495ED0EECC3EE79E2 /* MBRecognizerSerializers.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -407,7 +408,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = "/Users/dodo/Work/Microblink/deployRepos/blinkid/blinkid-react-native/BlinkIDReactNative/ios/Pods/PPBlinkID"; + FRAMEWORK_SEARCH_PATHS = "/Users/juraskrlec/Documents/projects/blinkid-react-native-custom/blinkid-react-native/BlinkIDReactNative/ios/Pods/PPBlinkID"; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -456,7 +457,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = "/Users/dodo/Work/Microblink/deployRepos/blinkid/blinkid-react-native/BlinkIDReactNative/ios/Pods/PPBlinkID"; + FRAMEWORK_SEARCH_PATHS = "/Users/juraskrlec/Documents/projects/blinkid-react-native-custom/blinkid-react-native/BlinkIDReactNative/ios/Pods/PPBlinkID"; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.xcworkspace/xcuserdata/juraskrlec.xcuserdatad/UserInterfaceState.xcuserstate b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.xcworkspace/xcuserdata/juraskrlec.xcuserdatad/UserInterfaceState.xcuserstate index 25a5dae..41fb878 100644 Binary files a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.xcworkspace/xcuserdata/juraskrlec.xcuserdatad/UserInterfaceState.xcuserstate and b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule.xcodeproj/project.xcworkspace/xcuserdata/juraskrlec.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/MBBlinkIDSerializationUtils.m b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/MBBlinkIDSerializationUtils.m index 9f645e5..e7b6952 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/MBBlinkIDSerializationUtils.m +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/MBBlinkIDSerializationUtils.m @@ -29,7 +29,13 @@ +(NSDictionary *) serializeMrzResult:(MBMrzResult *)mrzResult { @"immigrantCaseNumber" : mrzResult.immigrantCaseNumber, @"mrzText" : mrzResult.mrzText, @"mrzParsed" : [NSNumber numberWithBool:mrzResult.isParsed], - @"mrzVerified" : [NSNumber numberWithBool:mrzResult.isVerified] + @"mrzVerified" : [NSNumber numberWithBool:mrzResult.isVerified], + @"sanitizedOpt1" : mrzResult.sanitizedOpt1, + @"sanitizedOpt2" : mrzResult.sanitizedOpt2, + @"sanitizedNationality" : mrzResult.sanitizedNationality, + @"sanitizedIssuer" : mrzResult.sanitizedIssuer, + @"sanitizedDocumentCode" : mrzResult.sanitizedDocumentCode, + @"sanitizedDocumentNumber" : mrzResult.sanitizedDocumentNumber }; } diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m index d32894d..c8675c6 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdCombinedRecognizerWrapper.m @@ -16,6 +16,12 @@ -(instancetype) init { -(MBRecognizer *) createRecognizer:(NSDictionary*) jsonRecognizer { MBBlinkIdCombinedRecognizer *recognizer = [[MBBlinkIdCombinedRecognizer alloc] init]; + { + id allowBlurFilter = [jsonRecognizer valueForKey:@"allowBlurFilter"]; + if (allowBlurFilter != nil) { + recognizer.allowBlurFilter = [(NSNumber *)allowBlurFilter boolValue]; + } + } { id faceImageDpi = [jsonRecognizer valueForKey:@"faceImageDpi"]; if (faceImageDpi != nil) { diff --git a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m index 06c94cc..9e3825c 100644 --- a/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m +++ b/BlinkID/src/ios/MicroblinkModule/MicroblinkModule/Recognizers/Wrappers/MBBlinkIdRecognizerWrapper.m @@ -16,6 +16,12 @@ -(instancetype) init { -(MBRecognizer *) createRecognizer:(NSDictionary*) jsonRecognizer { MBBlinkIdRecognizer *recognizer = [[MBBlinkIdRecognizer alloc] init]; + { + id allowBlurFilter = [jsonRecognizer valueForKey:@"allowBlurFilter"]; + if (allowBlurFilter != nil) { + recognizer.allowBlurFilter = [(NSNumber *)allowBlurFilter boolValue]; + } + } { id faceImageDpi = [jsonRecognizer valueForKey:@"faceImageDpi"]; if (faceImageDpi != nil) { diff --git a/BlinkID/types.js b/BlinkID/types.js index 6082c14..019330f 100644 --- a/BlinkID/types.js +++ b/BlinkID/types.js @@ -145,6 +145,36 @@ export class MrzResult { this.mrzParsed = nativeMRZResult.mrzParsed; /** true if all check digits inside MRZ are correct, false otherwise. */ this.mrzVerified = nativeMRZResult.mrzVerified; + + /** + * Sanitized field opt1 + */ + this.sanitizedOpt1 = nativeMRZResult.sanitizedOpt1; + + /** + * Sanitized field opt2 + */ + this.sanitizedOpt2 = nativeMRZResult.sanitizedOpt2; + + /** + * Sanitized field nationality + */ + this.sanitizedNationality = nativeMRZResult.sanitizedNationality; + + /** + * Sanitized field issuer + */ + this.sanitizedIssuer = nativeMRZResult.sanitizedIssuer; + + /** + * Sanitized document code + */ + this.sanitizedDocumentCode = nativeMRZResult.sanitizedDocumentCode; + + /** + * Sanitized document number + */ + this.sanitizedDocumentNumber = nativeMRZResult.sanitizedDocumentNumber; } } diff --git a/README.md b/README.md index 4119a72..f242789 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ This repository contains example wrapper for BlinkID native SDK for [Android](ht ## React Native Version -BlinkID React Native was built and tested with [React Native v0.61.2](https://github.com/facebook/react-native/releases/tag/v0.61.2) +BlinkID React Native was built and tested with [React Native v0.61.5](https://github.com/facebook/react-native/releases/tag/v0.61.5) ## Installation First generate an empty project if needed: ```shell -react-native init --version="0.61.2" NameOfYourProject +react-native init --version="0.61.5" NameOfYourProject ``` Add the **blinkid-react-native** module to your project: diff --git a/demoApp/index.js b/demoApp/index.js index d6a9909..ea861c5 100644 --- a/demoApp/index.js +++ b/demoApp/index.js @@ -18,9 +18,9 @@ import { const licenseKey = Platform.select({ // iOS license key for applicationID: org.reactjs.native.example.BlinkIDReactNative - ios: 'sRwAAAEtb3JnLnJlYWN0anMubmF0aXZlLmV4YW1wbGUuQmxpbmtJRFJlYWN0TmF0aXZlt67qu61k2vMma/ITruR3GBdCT6r/cmaFI+NZgAUqVDHfyAwktjg12ChCnWOhOftJl+pLYeePQbA7whrJ5YweKxQBcor+NVH3T3PNgZDjlibGecAWKK/CMANH5t9UHbSDmqG6TnvZaH+En2fxXNaIrAyAu4GZquwN2itDRox8smHKOcTCzAH2AyWYSHf7jND8XHKnwogrOWg01hIno3l8zioeM+OY0feG3zwotirfBoObNFpVauI4QI8R7zZEedB+RfENS3XmLLQ=', + ios: 'sRwAAAEtb3JnLnJlYWN0anMubmF0aXZlLmV4YW1wbGUuQmxpbmtJRFJlYWN0TmF0aXZlt67qu61k2vMma/ITqpx0GBDsdFcAU1dI9T/O8QGQbKXro44fSAI13p1dXmp1lzbUPSsdtzhyWtgwe7SrwGL0/hmfoPwkGncgZbIBGumtmRVXfpXecM99O4Du5mEy3idv0sglgqJ8kbOiNpW+vFomSliJBaBRHKW5M+o5Lg4FPnFitkdO32qhz3fUhnozCm84QYgEGv/BXChZJ44RXg1RcRircg/kLPvhNmp2h1EJ/wpOJE4KU3dL2k2Wa545kAcmwEpm1hOQqw/9I+mo', // android license key for applicationID: com.blinkidreactnative - android: 'sRwAAAAWY29tLmJsaW5raWRyZWFjdG5hdGl2ZYouOuuUS2CbdVuoF260SqNbRtO4gCl9dXUxagi5mZOoB/y0Jh0+elvVE6Mhd+ZP4XjS/YCFwlxnTlcZiYCDQtS43nGg5uQhWN6IPymUOvjGr5h67rFL1aobRFp4kOCp/TjHZ9H9SCfqDaS+LvvHjU0Xi8BFaThc+QqZJgXCgRCqKD4l7Atd6ETIzUeI+wY+d8HDf0FcWmJyJbyDREKj1RrY41do/qKkCbe2FtqOKPb8K332T1ba6R16CSctf5vwn1rTcs7LfnXp' + android: 'sRwAAAAWY29tLmJsaW5raWRyZWFjdG5hdGl2ZYouOuuUS2CbdVuoF2osTqNctcgR2fajZKtn52xvKLz7ttngB4LGxM/mjl4DBMD88Hjd5sbw4yFp8KK0pOv8HCqmRGsELMRxFwCXeqMgAX3PJVNSY2d/GljJvBXveEEoCsgRUyFwCovDci0FAwDwhRc54ermAW9OadJKbFvMjBhjoW9IGnNwKMvQYrnzeCTpnS0ni39Phe/KfuxDK6QPrLbZd0d3lOopYpymQvqg9n22Gr/tPBkNDIZ1lghkd49CRfocfbmoBVcUt8+kKQ==' }) var renderIf = function(condition, content) { @@ -35,8 +35,10 @@ export default class BlinkIDReactNativeApp extends Component { super(props); this.state = { - showImageDocument: false, - resultImageDocument: '', + showFrontImageDocument: false, + resultFrontImageDocument: '', + showBackImageDocument: false, + resultBackImageDocument: '', showImageFace: false, resultImageFace: '', showSuccessFrame: false, @@ -56,22 +58,24 @@ export default class BlinkIDReactNativeApp extends Component { // var mrtdSuccessFrameGrabber = new BlinkIDReactNative.SuccessFrameGrabberRecognizer(mrtdRecognizer); - // BlinkIDRecognizer automatically classifies different document types and scans the data from + // BlinkIDCombinedRecognizer automatically classifies different document types and scans the data from // the supported document - var blinkIdRecognizer = new BlinkIDReactNative.BlinkIdRecognizer(); - blinkIdRecognizer.returnFullDocumentImage = true; - blinkIdRecognizer.returnFaceImage = true; + var blinkIdCombinedRecognizer = new BlinkIDReactNative.BlinkIdCombinedRecognizer(); + blinkIdCombinedRecognizer.returnFullDocumentImage = true; + blinkIdCombinedRecognizer.returnFaceImage = true; const scanningResults = await BlinkIDReactNative.BlinkID.scanWithCamera( new BlinkIDReactNative.BlinkIdOverlaySettings(), - new BlinkIDReactNative.RecognizerCollection([blinkIdRecognizer/*, mrtdSuccessFrameGrabber*/]), + new BlinkIDReactNative.RecognizerCollection([blinkIdCombinedRecognizer/*, mrtdSuccessFrameGrabber*/]), licenseKey ); if (scanningResults) { let newState = { - showImageDocument: false, - resultImageDocument: '', + showFrontImageDocument: false, + resultFrontImageDocument: '', + showBackImageDocument: false, + resultBackImageDocument: '', showImageFace: false, resultImageFace: '', results: '', @@ -81,9 +85,13 @@ export default class BlinkIDReactNativeApp extends Component { for (let i = 0; i < scanningResults.length; ++i) { let localState = this.handleResult(scanningResults[i]); - newState.showImageDocument = newState.showImageDocument || localState.showImageDocument; - if (localState.resultImageDocument) { - newState.resultImageDocument = localState.resultImageDocument; + newState.showFrontImageDocument = newState.showFrontImageDocument || localState.showFrontImageDocument; + if (localState.showFrontImageDocument) { + newState.resultFrontImageDocument = localState.resultFrontImageDocument; + } + newState.showBackImageDocument = newState.showBackImageDocument || localState.showBackImageDocument; + if (localState.showBackImageDocument) { + newState.resultBackImageDocument = localState.resultBackImageDocument; } newState.showImageFace = newState.showImageFace || localState.showImageFace; if (localState.resultImageFace) { @@ -101,7 +109,7 @@ export default class BlinkIDReactNativeApp extends Component { } } catch (error) { console.log(error); - this.setState({ showImageDocument: false, resultImageDocument: '', showImageFace: false, resultImageFace: '', results: 'Scanning has been cancelled', showSuccessFrame: false, + this.setState({ showFrontImageDocument: false, resultFrontImageDocument: '', showBackImageDocument: false, resultBackImageDocument: '', showImageFace: false, resultImageFace: '', results: 'Scanning has been cancelled', showSuccessFrame: false, successFrame: ''}); } } @@ -110,16 +118,17 @@ export default class BlinkIDReactNativeApp extends Component { let fieldDelim = ";\n"; var localState = { - showImageDocument: false, - resultImageDocument: '', - showImageFace: false, + showFrontImageDocument: false, + resultFrontImageDocument: '', + showBackImageDocument: false, + resultBackImageDocument: '', resultImageFace: '', results: '', showSuccessFrame: false, successFrame: '' }; - if (result instanceof BlinkIDReactNative.BlinkIdRecognizerResult) { + if (result instanceof BlinkIDReactNative.BlinkIdCombinedRecognizerResult) { let blinkIdResult = result; let resultString = "First name: " + blinkIdResult.firstName + fieldDelim + @@ -152,47 +161,26 @@ export default class BlinkIDReactNativeApp extends Component { localState.results += resultString; // Document image is returned as Base64 encoded JPEG - if (blinkIdResult.fullDocumentImage) { - localState.showImageDocument = true; - localState.resultImageDocument = 'data:image/jpg;base64,' + blinkIdResult.fullDocumentImage; + if (blinkIdResult.fullDocumentFrontImage) { + localState.showFrontImageDocument = true; + localState.resultFrontImageDocument = 'data:image/jpg;base64,' + blinkIdResult.fullDocumentFrontImage; + } + if (blinkIdResult.fullDocumentBackImage) { + localState.showBackImageDocument = true; + localState.resultBackImageDocument = 'data:image/jpg;base64,' + blinkIdResult.fullDocumentBackImage; } // Face image is returned as Base64 encoded JPEG if (blinkIdResult.faceImage) { localState.showImageFace = true; localState.resultImageFace = 'data:image/jpg;base64,' + blinkIdResult.faceImage; } - } else if (result instanceof BlinkIDReactNative.MrtdRecognizerResult) { - let mrtdResult = result; - localState.results += - "First name: " + mrtdResult.mrzResult.secondaryId + fieldDelim + - "Last name: " + mrtdResult.mrzResult.primaryId + fieldDelim + - "Nationality: " + mrtdResult.mrzResult.nationality + fieldDelim + - "Gender: " + mrtdResult.mrzResult.gender + fieldDelim + - "Date of birth: " + - mrtdResult.mrzResult.dateOfBirth.day + "." + - mrtdResult.mrzResult.dateOfBirth.month + "." + - mrtdResult.mrzResult.dateOfBirth.year + "."; - - // Document image is returned as Base64 encoded JPEG - if (mrtdResult.fullDocumentImage) { - localState.showImageDocument = true; - localState.resultImageDocument = 'data:image/jpg;base64,' + mrtdResult.fullDocumentImage; - } - } else if (result instanceof BlinkIDReactNative.SuccessFrameGrabberRecognizerResult) { - // first handle slave result, and then add success frame image - localState = this.handleResult(result.slaveRecognizerResult); - - // success frame is returned as Base64 encoded JPEG - if (result.successFrame) { - localState.showSuccessFrame = true; - localState.successFrame = 'data:image/jpg;base64,' + result.successFrame; - } - } + } return localState; } render() { - let displayImageDocument = this.state.resultImageDocument; + let displayFrontImageDocument = this.state.resultFrontImageDocument; + let displayBackImageDocument = this.state.resultBackImageDocument; let displayImageFace = this.state.resultImageFace; let displaySuccessFrame = this.state.successFrame; let displayFields = this.state.results; @@ -209,11 +197,18 @@ export default class BlinkIDReactNativeApp extends Component { - {renderIf(this.state.showImageDocument, + {renderIf(this.state.showFrontImageDocument, + + + + )} + {renderIf(this.state.showBackImageDocument, + source={{uri: displayBackImageDocument, scale: 3}} style={styles.imageResult}/> )} {renderIf(this.state.showImageFace, diff --git a/initReactNativeDemoApp.sh b/initReactNativeDemoApp.sh index 2f8e7b7..3628fa2 100755 --- a/initReactNativeDemoApp.sh +++ b/initReactNativeDemoApp.sh @@ -7,7 +7,7 @@ rm -rf BlinkIDReactNative # create a sample application # https://github.com/react-native-community/cli#using-npx-recommended -npx react-native init --version="0.61.2" BlinkIDReactNative +npx react-native init --version="0.61.5" BlinkIDReactNative # enter into demo project folder pushd BlinkIDReactNative @@ -21,7 +21,7 @@ else # use directly source code from this repo instead of npm package # from RN 0.57 symlink does not work any more npm pack $blink_id_plugin_path - npm install --save blinkid-react-native-5.0.0.tgz + npm install --save blinkid-react-native-5.1.0.tgz #pushd node_modules #ln -s $blink_id_plugin_path blinkid-react-native #popd