assentify-sdk-react-native 1.0.0-Beta.25 → 1.0.0-Beta.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Package.swift CHANGED
@@ -66,7 +66,7 @@ let package = Package(
66
66
  .package(name: "React-GeneratedCode", path: "../../../../generated/ios"),
67
67
  .package(
68
68
  url: "https://github.com/AssentifyLTD/Assentify.SDK.iOS.SPM.git",
69
- exact: "1.0.0-Beta.20"
69
+ exact: "1.0.0-Beta.21"
70
70
  ),
71
71
  ],
72
72
  targets: [
package/README.md CHANGED
@@ -65,6 +65,9 @@ Xcode project automatically (using React Native's built-in `spm_dependency`/auto
65
65
 
66
66
  ## Versions
67
67
 
68
+ ***1.0.0-Beta.26***
69
+ 1. *Support Local Passport Scan*
70
+
68
71
  ***1.0.0-Beta.25***
69
72
  1. *Android Target Sdk Version 36 Support.*
70
73
 
@@ -96,7 +96,7 @@ dependencies {
96
96
  compileOnly("com.facebook.react:react-android")
97
97
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
98
98
 
99
- implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.37'
99
+ implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.38'
100
100
 
101
101
  implementation 'com.google.code.gson:gson:2.13.2'
102
102
  implementation 'androidx.navigation:navigation-fragment-ktx:2.9.7'
@@ -519,6 +519,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
519
519
  rangeEnd: Int? = null,
520
520
  stepperTitle: String? = null,
521
521
  showCountDown: Boolean? = null,
522
+ localMrzScan: Boolean? = null,
522
523
  ) {
523
524
  val intent = Intent(reactApplicationContext, FlowActivity::class.java)
524
525
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
@@ -551,6 +552,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
551
552
  intent.putExtra("rangeEnd", rangeEnd)
552
553
  intent.putExtra("stepperTitle", stepperTitle)
553
554
  intent.putExtra("showCountDown", showCountDown)
555
+ intent.putExtra("localMrzScan", localMrzScan)
554
556
  reactApplicationContext.currentActivity?.startActivity(intent)
555
557
  }
556
558
 
@@ -89,6 +89,7 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
89
89
  val rangeEnd = intent.getIntExtra("rangeEnd",50)
90
90
  val stepperTitle = intent.getStringExtra("stepperTitle")
91
91
  val showCountDown = intent.getBooleanExtra("showCountDown", true)
92
+ val localMrzScan = intent.getBooleanExtra("localMrzScan", false)
92
93
 
93
94
  // ========= 4) DEBUG LOGGING =========
94
95
  Log.d("FlowActivity", "===== Received Extras =====")
@@ -116,6 +117,7 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
116
117
  Log.d("FlowActivity", "rangeEnd: $rangeEnd")
117
118
  Log.d("FlowActivity", "stepperTitle: $stepperTitle")
118
119
  Log.d("FlowActivity", "showCountDown: $showCountDown")
120
+ Log.d("FlowActivity", "localMrzScan: $localMrzScan")
119
121
  Log.d("FlowActivity", "================================")
120
122
 
121
123
  val bType = BackgroundType.entries.firstOrNull {
@@ -178,6 +180,7 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
178
180
  rangeEnd = rangeEnd,
179
181
  stepperTitle = stepperTitle!!,
180
182
  showCountDown = showCountDown!!,
183
+ localMrzScan = localMrzScan!!,
181
184
  );
182
185
  assentifySdk.startFlow(
183
186
  activityContext = this@FlowActivity,
@@ -78,7 +78,8 @@ RCT_EXTERN_METHOD(startFlow:(NSString *)logoUrl
78
78
  rangeStart:(NSNumber *)rangeStart
79
79
  rangeEnd:(NSNumber *)rangeEnd
80
80
  stepperTitle:(NSString *)stepperTitle
81
- showCountDown:(BOOL)showCountDown)
81
+ showCountDown:(BOOL)showCountDown
82
+ localMrzScan:(BOOL)localMrzScan)
82
83
 
83
84
 
84
85
  RCT_EXTERN_METHOD(supportedEvents)
@@ -670,7 +670,9 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
670
670
  rangeStart: NSNumber,
671
671
  rangeEnd: NSNumber,
672
672
  stepperTitle: String,
673
- showCountDown: Bool
673
+ showCountDown: Bool,
674
+ localMrzScan: Bool,
675
+
674
676
  ) {
675
677
  navToFlow(
676
678
  logoUrl:logoUrl,
@@ -695,7 +697,8 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
695
697
  rangeStart: rangeStart,
696
698
  rangeEnd: rangeEnd,
697
699
  stepperTitle: stepperTitle,
698
- showCountDown: showCountDown
700
+ showCountDown: showCountDown,
701
+ localMrzScan: localMrzScan
699
702
  )
700
703
  }
701
704
 
@@ -725,7 +728,8 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
725
728
  rangeStart: NSNumber,
726
729
  rangeEnd: NSNumber,
727
730
  stepperTitle: String,
728
- showCountDown: Bool
731
+ showCountDown: Bool,
732
+ localMrzScan: Bool
729
733
  ) {
730
734
 
731
735
  let angleBg = angleDegreesBackgroundColors.floatValue
@@ -771,6 +775,7 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
771
775
  print("\(tag) rangeEnd: \(rangeEnd)")
772
776
  print("\(tag) stepperTitle: \(stepperTitle)")
773
777
  print("\(tag) showCountDown: \(showCountDown)")
778
+ print("\(tag) localMrzScan: \(localMrzScan)")
774
779
  print("\(tag) =================================")
775
780
 
776
781
  let bType: BackgroundType = {
@@ -841,6 +846,7 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
841
846
  enableQr: enableQr,
842
847
  showCountDown:showCountDown,
843
848
  blockLoaderCustomProperties: parsedBlockLoaderCustomProperties,
849
+ localMrzScan:localMrzScan
844
850
  )
845
851
  DispatchQueue.main.async {
846
852
 
@@ -47,8 +47,8 @@ const AssentifyWrapper = {
47
47
  },
48
48
  /// Flow
49
49
 
50
- startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown) {
51
- AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
50
+ startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown, localMrzScan) {
51
+ AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true, localMrzScan ?? false);
52
52
  }
53
53
  };
54
54
  var _default = exports.default = AssentifyWrapper;
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAOA,MAAMC,aAAa,GACjB,kGAAkG,GAClGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGC,0BAAa;AAE5C,MAAMC,YAAY,GAAGD,0BAAa,CAACD,kBAAkB,GACjDC,0BAAa,CAACD,kBAAkB,GAChC,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;E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I,EAAE,EACbC,qBAAqB,IAAI,EAAE,EAC3BC,SAAS,IAAI,EAAE,EACfC,kBAAkB,IAAI,EAAE,EACxBC,mBAAmB,IAAI,EAAE,EACzBC,WAAW,IAAI,EAAE,EACjBC,gBAAgB,IAAI,EAAE,EACtBC,WAAW,IAAI,EAAE,EACjBC,4BAA4B,IAAI,IAAI,EACpCC,yBAAyB,IAAI,GAAG,EAChCC,uBAAuB,IAAI,IAAI,EAC/BC,oBAAoB,IAAI,GAAG,EAC3BC,cAAc,EACdC,KAAK,EACLC,qBAAqB,IAAI,KAAK,EAC9BC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjB1B,IAAI,CAACC,SAAS,CAAC0B,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC3B,aAAa,IAAI,IACnB,CAAC;EACL;AAEF,CAAC;AAAC,IAAA4B,QAAA,GAAAC,OAAA,CAAA1E,OAAA,GAEaO,gBAAgB","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","localMrzScan","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAOA,MAAMC,aAAa,GACjB,kGAAkG,GAClGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGC,0BAAa;AAE5C,MAAMC,YAAY,GAAGD,0BAAa,CAACD,kBAAkB,GACjDC,0BAAa,CAACD,kBAAkB,GAChC,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMW,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,qBAA8B,EAC9BC,mBAA6B,EAC7BC,eAAwB,EACxBC,YAAsB,EACtBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,EAC5BC,kBAA2B,EAC3BC,8BAAuC,EACvCC,6BAAsC,EACtCC,0BAAmC,EACnCC,yBAAkC,EAClCC,cAAuB,EACvBC,wBAAiC,EACjCC,sBAA+B,EAC/BC,MAAe,EACfC,SAAkB,EAClBC,WAAqB,EACrBC,gBAAyB,EACzBC,qBAA8B,EAC9BC,cAAoC,EACpC;IACE5B,YAAY,CAACK,UAAU,CACbC,MAAM,EACNC,cAAc,EACdC,qBAAqB,IAAG,EAAE,E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QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC3B,aAAa,IAAI,IAAI,EACrB4B,YAAY,IAAI,KAClB,CAAC;EACL;AAEF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA3E,OAAA,GAEaO,gBAAgB","ignoreList":[]}
@@ -41,8 +41,8 @@ const AssentifyWrapper = {
41
41
  },
42
42
  /// Flow
43
43
 
44
- startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown) {
45
- AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
44
+ startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown, localMrzScan) {
45
+ AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true, localMrzScan ?? false);
46
46
  }
47
47
  };
48
48
  export default AssentifyWrapper;
@@ -1 +1 @@
1
- {"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAOtE,MAAMC,aAAa,GACjB,kGAAkG,GAClGD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EAClBC,kBAA2B,EAC3BC,mBAA4B,EAC5BC,WAAoB,EACpBC,gBAA2B,EAC3BC,WAAsB,EACtBC,4BAAqC,EACrCC,yBAAkC,EAClCC,uBAAgC,EAChCC,oBAA6B,EAC7BC,cAAmC,EACnCC,KAAe,EACfC,qBAAoC,EACpCC,SAAmB,EACnBC,QAAkB,EAClBC,2BAAmD,EACnDC,eAAoC,EACpCC,UAAmB,EACnBC,QAAiB,EACjBC,YAAqB,EACrB3B,aAAuB,EACvB;IACE1C,YAAY,CAAC+C,SAAS,CACpBC,OAAO,IAAI,EAAE,EACbC,qBAAqB,IAAI,EAAE,EAC3BC,SAAS,IAAI,EAAE,EACfC,kBAAkB,IAAI,EAAE,EACxBC,mBAAmB,IAAI,EAAE,EACzBC,WAAW,IAAI,EAAE,EACjBC,gBAAgB,IAAI,EAAE,EACtBC,WAAW,IAAI,EAAE,EACjBC,4BAA4B,IAAI,IAAI,EACpCC,yBAAyB,IAAI,GAAG,EAChCC,uBAAuB,IAAI,IAAI,EAC/BC,oBAAoB,IAAI,GAAG,EAC3BC,cAAc,EACdC,KAAK,EACLC,qBAAqB,IAAI,KAAK,EAC9BC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjB1B,IAAI,CAACC,SAAS,CAAC0B,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC3B,aAAa,IAAI,IACnB,CAAC;EACL;AAEF,CAAC;AAED,eAAetC,gBAAgB","ignoreList":[]}
1
+ {"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","localMrzScan"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAOtE,MAAMC,aAAa,GACjB,kGAAkG,GAClGD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGN,aAAa;AAE5C,MAAMO,YAAY,GAAGP,aAAa,CAACM,kBAAkB,GACjDN,aAAa,CAACM,kBAAkB,GAChC,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACR,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMS,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,qBAA8B,EAC9BC,mBAA6B,EAC7BC,eAAwB,EACxBC,YAAsB,EACtBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,E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4BAA4B,IAAI,IAAI,EACpCC,yBAAyB,IAAI,GAAG,EAChCC,uBAAuB,IAAI,IAAI,EAC/BC,oBAAoB,IAAI,GAAG,EAC3BC,cAAc,EACdC,KAAK,EACLC,qBAAqB,IAAI,KAAK,EAC9BC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjB1B,IAAI,CAACC,SAAS,CAAC0B,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC3B,aAAa,IAAI,IAAI,EACrB4B,YAAY,IAAI,KAClB,CAAC;EACL;AAEF,CAAC;AAED,eAAelE,gBAAgB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAkBnD,QAAA,MAAM,IAAI,yBAuXT,CAAC;AAcF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAkBnD,QAAA,MAAM,IAAI,yBAwXT,CAAC;AAcF,eAAe,IAAI,CAAC"}
@@ -8,6 +8,6 @@ declare namespace AssentifyWrapper {
8
8
  function startFaceMatch(imageUrl: any, showCountDown: any, stepID: any): void;
9
9
  function startScanQr(templatesByCountryObject: any, language: any, stepID: any): void;
10
10
  function submitData(dataMap: any): void;
11
- function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any): void;
11
+ function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any, localMrzScan: any): void;
12
12
  }
13
13
  //# sourceMappingURL=AssentifyWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,whBAEV"}
1
+ {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2iBAEV"}
@@ -7,6 +7,6 @@ declare namespace AssentifyWrapper {
7
7
  function startFaceMatch(imageUrl: any, showCountDown: any, stepID: any): void;
8
8
  function startScanQr(templatesByCountryObject: any, language: any, stepID: any): void;
9
9
  function submitData(dataMap: any): void;
10
- function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any): void;
10
+ function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any, localMrzScan: any): void;
11
11
  }
12
12
  //# sourceMappingURL=AssentifyWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,whBAEV"}
1
+ {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2iBAEV"}
@@ -12,6 +12,6 @@ export const Assentify: {
12
12
  startFaceMatch: (imageUrl: any, showCountDown: any, stepID: any) => void;
13
13
  startScanQr: (templatesByCountryObject: any, language: any, stepID: any) => void;
14
14
  submitData: (dataMap: any) => void;
15
- startFlow: (logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any) => void;
15
+ startFlow: (logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any, localMrzScan: any) => void;
16
16
  };
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@ declare const AssentifyWrapper: {
11
11
  startFaceMatch: (imageUrl: String, showCountDown: boolean, stepID: number) => void;
12
12
  startScanQr: (templatesByCountryObject: TemplatesByCountry, language: LanguageCode, stepID: number) => void;
13
13
  submitData: (dataMap: Record<string, string>) => void;
14
- startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean) => void;
14
+ startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean, localMrzScan?: boolean) => void;
15
15
  };
16
16
  export default AssentifyWrapper;
17
17
  //# sourceMappingURL=AssentifyWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../src/AssentifyWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAqB7D,QAAA,MAAM,gBAAgB;yBAGV,MAAM,kBACE,MAAM,0BACE,MAAM,wBACR,OAAO,oBACX,MAAM,iBACT,OAAO,2BACG,MAAM,+BACF,MAAM,wBACb,MAAM,uBACP,MAAM,mCACM,MAAM,kCACP,MAAM,+BACT,MAAM,8BACP,MAAM,mBACjB,MAAM,6BACI,MAAM,2BACR,MAAM,WACtB,MAAM,cACH,MAAM,gBACH,MAAM,qBACF,MAAM,0BACD,MAAM,mBACZ,kBAAkB;kCA8BE,YAAY,UAAS,MAAM;+BAK7B,YAAY,UAAS,MAAM;gDAKV,kBAAkB,YAAW,YAAY,gBAAe,OAAO,UAAS,MAAM;+BAK9F,MAAM,iBAAgB,OAAO,UAAS,MAAM;4CAOhC,kBAAkB,YAAW,YAAY,UAAS,MAAM;0BAM1E,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;0BAQ3C,MAAM,0BACQ,MAAM,cAClB,MAAM,uBACG,MAAM,wBACL,MAAM,gBACd,MAAM,qBACD,MAAM,EAAE,gBACb,MAAM,EAAE,iCACS,MAAM,8BACT,MAAM,4BACR,MAAM,yBACT,MAAM,mBACZ,kB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CACS,MAAM,8BACT,MAAM,4BACR,MAAM,yBACT,MAAM,mBACZ,kBAAkB,UAC3B,OAAO,0BACS,YAAY,cACxB,OAAO,aACR,OAAO,gCACW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,oBAClC,mBAAmB,eACvB,MAAM,aACR,MAAM,iBACF,MAAM,kBACL,OAAO,iBACR,OAAO;CA8BzB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -11,7 +11,7 @@ export declare const Assentify: {
11
11
  startFaceMatch: (imageUrl: String, showCountDown: boolean, stepID: number) => void;
12
12
  startScanQr: (templatesByCountryObject: import("./types").TemplatesByCountry, language: import("./Language").LanguageCode, stepID: number) => void;
13
13
  submitData: (dataMap: Record<string, string>) => void;
14
- startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: import("./BackgroundType").BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: import("./FlowStepperType").FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean) => void;
14
+ startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: import("./BackgroundType").BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: import("./FlowStepperType").FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean, localMrzScan?: boolean) => void;
15
15
  };
16
16
  export * from './AssentifyProvider';
17
17
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assentify-sdk-react-native",
3
- "version": "1.0.0-Beta.25",
3
+ "version": "1.0.0-Beta.26",
4
4
  "description": "This package provides integration with Assentify's services, allowing developers to incorporate Assentify functionalities seamlessly into their applications.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -138,6 +138,7 @@ const AssentifyWrapper = {
138
138
  rangeEnd?: number,
139
139
  stepperTitle?: string,
140
140
  showCountDown?: boolean,
141
+ localMrzScan?: boolean,
141
142
  ) {
142
143
  AssentifySdk.startFlow(
143
144
  logoUrl ?? "",
@@ -163,6 +164,7 @@ const AssentifyWrapper = {
163
164
  rangeEnd ?? 50,
164
165
  stepperTitle ?? "Identification",
165
166
  showCountDown ?? true,
167
+ localMrzScan ?? false,
166
168
  );
167
169
  },
168
170