assentify-sdk-react-native 1.0.0-Beta.10 → 1.0.0-Beta.12

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/README.md CHANGED
@@ -93,6 +93,12 @@ yarn add assentify-sdk-react-native
93
93
 
94
94
  ## Versions
95
95
 
96
+ ***1.0.0-Beta.12***
97
+ 1. *Optimized OTP Delivery Process*
98
+ 2.
99
+ **1.0.0-Beta.11**
100
+ 1. *Optimized Face Match Experience*
101
+
96
102
  **1.0.0-Beta.10**
97
103
  1. *Enhanced User Experience*
98
104
 
@@ -101,7 +101,7 @@ dependencies {
101
101
  compileOnly("com.facebook.react:react-android")
102
102
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
103
103
 
104
- implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.20'
104
+ implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.23'
105
105
 
106
106
  implementation 'com.google.code.gson:gson:2.13.2'
107
107
  implementation 'androidx.navigation:navigation-fragment-ktx:2.9.7'
@@ -512,6 +512,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
512
512
  rangeStart: Int? = null,
513
513
  rangeEnd: Int? = null,
514
514
  stepperTitle: String? = null,
515
+ showCountDown: Boolean? = null,
515
516
  ) {
516
517
  val intent = Intent(reactApplicationContext, FlowActivity::class.java)
517
518
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
@@ -543,6 +544,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
543
544
  intent.putExtra("rangeStart", rangeStart)
544
545
  intent.putExtra("rangeEnd", rangeEnd)
545
546
  intent.putExtra("stepperTitle", stepperTitle)
547
+ intent.putExtra("showCountDown", showCountDown)
546
548
  reactApplicationContext.currentActivity?.startActivity(intent)
547
549
  }
548
550
 
@@ -88,6 +88,7 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
88
88
  val rangeStart = intent.getIntExtra("rangeStart",25)
89
89
  val rangeEnd = intent.getIntExtra("rangeEnd",50)
90
90
  val stepperTitle = intent.getStringExtra("stepperTitle")
91
+ val showCountDown = intent.getBooleanExtra("showCountDown", true)
91
92
 
92
93
  // ========= 4) DEBUG LOGGING =========
93
94
  Log.d("FlowActivity", "===== Received Extras =====")
@@ -114,6 +115,7 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
114
115
  Log.d("FlowActivity", "rangeStart: $rangeStart")
115
116
  Log.d("FlowActivity", "rangeEnd: $rangeEnd")
116
117
  Log.d("FlowActivity", "stepperTitle: $stepperTitle")
118
+ Log.d("FlowActivity", "showCountDown: $showCountDown")
117
119
  Log.d("FlowActivity", "================================")
118
120
 
119
121
  val bType = BackgroundType.entries.firstOrNull {
@@ -175,6 +177,7 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
175
177
  rangeStart = rangeStart,
176
178
  rangeEnd = rangeEnd,
177
179
  stepperTitle = stepperTitle!!,
180
+ showCountDown = showCountDown!!,
178
181
  );
179
182
  assentifySdk.startFlow(
180
183
  activityContext = this@FlowActivity,
@@ -39,6 +39,6 @@ Pod::Spec.new do |s|
39
39
 
40
40
  s.dependency "React-Core"
41
41
  s.dependency "MLKitFaceDetection", '8.0.0'
42
- s.dependency "AssentifySdk", '1.0.0-Beta.13'
42
+ s.dependency "AssentifySdk", '1.0.0-Beta.15'
43
43
 
44
44
  end
@@ -75,7 +75,8 @@ RCT_EXTERN_METHOD(startFlow:(NSString *)logoUrl
75
75
  stepperType:(NSString *)stepperType
76
76
  rangeStart:(NSNumber *)rangeStart
77
77
  rangeEnd:(NSNumber *)rangeEnd
78
- stepperTitle:(NSString *)stepperTitle)
78
+ stepperTitle:(NSString *)stepperTitle
79
+ showCountDown:(BOOL)showCountDown)
79
80
 
80
81
 
81
82
  RCT_EXTERN_METHOD(supportedEvents)
@@ -662,6 +662,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
662
662
  rangeStart: NSNumber,
663
663
  rangeEnd: NSNumber,
664
664
  stepperTitle: String,
665
+ showCountDown: Bool
665
666
  ) {
666
667
  navToFlow(
667
668
  logoUrl:logoUrl,
@@ -685,7 +686,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
685
686
  stepperType: stepperType,
686
687
  rangeStart: rangeStart,
687
688
  rangeEnd: rangeEnd,
688
- stepperTitle: stepperTitle
689
+ stepperTitle: stepperTitle,
690
+ showCountDown: showCountDown
689
691
  )
690
692
  }
691
693
 
@@ -714,7 +716,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
714
716
  stepperType: String,
715
717
  rangeStart: NSNumber,
716
718
  rangeEnd: NSNumber,
717
- stepperTitle: String
719
+ stepperTitle: String,
720
+ showCountDown: Bool
718
721
  ) {
719
722
 
720
723
  let angleBg = angleDegreesBackgroundColors.floatValue
@@ -759,6 +762,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
759
762
  print("\(tag) rangeStart: \(rangeStart)")
760
763
  print("\(tag) rangeEnd: \(rangeEnd)")
761
764
  print("\(tag) stepperTitle: \(stepperTitle)")
765
+ print("\(tag) showCountDown: \(showCountDown)")
762
766
  print("\(tag) =================================")
763
767
 
764
768
  let bType: BackgroundType = {
@@ -771,7 +775,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
771
775
  return .color
772
776
  }
773
777
  }()
774
-
778
+
775
779
  let sType: StepperType = {
776
780
  switch stepperType {
777
781
  case "Normal":
@@ -827,7 +831,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
827
831
  language: language,
828
832
  enableNfc: enableNfc,
829
833
  enableQr: enableQr,
830
- blockLoaderCustomProperties: parsedBlockLoaderCustomProperties
834
+ showCountDown:showCountDown,
835
+ blockLoaderCustomProperties: parsedBlockLoaderCustomProperties,
831
836
  )
832
837
  DispatchQueue.main.async {
833
838
 
@@ -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, language, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle) {
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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification");
50
+ startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, language, 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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
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","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","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","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,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;I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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,EACL/B,QAAQ,IAAI,KAAK,EACjBgC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjBzB,IAAI,CAACC,SAAS,CAACyB,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAClB,CAAC;EACL;AAEF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAvE,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","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","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","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,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,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,EAC9B;IACE1B,YAAY,CAACK,UAAU,CACbC,MAAM,EACNC,cAAc,EACdC,mBAAmB,IAAI,KAAK,EAC5BC,eAAe,IAAI,SAAS,EAC5BC,YAAY,IAAI,IAAI,EACpBC,sBAAsB,IAAG,EAAE,EAC3BC,0BAA0B,IAAG,EAAE,EAC/BC,mBAAmB,IAAG,EAAE,EACxBC,kBAAkB,IAAG,C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@ 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, language, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle) {
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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification");
44
+ startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, language, 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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
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","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","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","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAMtE,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,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E,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,EACL/B,QAAQ,IAAI,KAAK,EACjBgC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjBzB,IAAI,CAACC,SAAS,CAACyB,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAClB,CAAC;EACL;AAEF,CAAC;AAED,eAAe9D,gBAAgB","ignoreList":[]}
1
+ {"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","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","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle"],"sourceRoot":"..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C,OAAgB,EAChBC,qBAA8B,EAC9BC,SAAkB,EAClBC,kBAA2B,EAC3BC,mBAA4B,EAC5BC,WAAoB,EACpBC,gBAA2B,EAC3BC,WAAsB,EACtBC,4BAAqC,EACrCC,yBAAkC,EAClCC,uBAAgC,EAChCC,oBAA6B,EAC7BC,cAAmC,EACnCC,KAAe,EACf/B,QAAuB,EACvBgC,SAAmB,EACnBC,QAAkB,EAClBC,2BAAmD,EACnDC,eAAoC,EACpCC,UAAmB,EACnBC,QAAiB,EACjBC,YAAqB,EACrB1B,aAAuB,EACvB;IACExC,YAAY,CAAC6C,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,EACL/B,QAAQ,IAAI,KAAK,EACjBgC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjBzB,IAAI,CAACC,SAAS,CAACyB,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC1B,aAAa,IAAI,IACnB,CAAC;EACL;AAEF,CAAC;AAED,eAAepC,gBAAgB","ignoreList":[]}
@@ -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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: 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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: 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,6iBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,ufAEV"}
1
+ {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,6iBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2gBAEV"}
@@ -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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: 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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: 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,6iBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,ufAEV"}
1
+ {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,6iBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2gBAEV"}
@@ -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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: 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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any) => void;
16
16
  };
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -10,7 +10,7 @@ declare const AssentifyWrapper: {
10
10
  startFaceMatch: (imageUrl: String, showCountDown: boolean, stepID: number) => void;
11
11
  startScanQr: (templatesByCountryObject: TemplatesByCountry, language: LanguageCode, stepID: number) => void;
12
12
  submitData: (dataMap: Record<string, string>) => void;
13
- 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, language?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string) => void;
13
+ 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, language?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean) => void;
14
14
  };
15
15
  export default AssentifyWrapper;
16
16
  //# 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,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,wBACA,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;kCA4BQ,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,kBAAkB,UAC3B,OAAO,aACJ,YAAY,cACX,OAAO,aACR,OAA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AAC,oBAClC,mBAAmB,eACvB,MAAM,aACR,MAAM,iBACF,MAAM,kBACL,OAAO;CA6B1B,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, language?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: import("./FlowStepperType").FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: 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, language?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: import("./FlowStepperType").FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: 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.10",
3
+ "version": "1.0.0-Beta.12",
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",
@@ -132,6 +132,7 @@ const AssentifyWrapper = {
132
132
  rangeStart?: number,
133
133
  rangeEnd?: number,
134
134
  stepperTitle?: string,
135
+ showCountDown?: boolean,
135
136
  ) {
136
137
  AssentifySdk.startFlow(
137
138
  logoUrl ?? "",
@@ -156,6 +157,7 @@ const AssentifyWrapper = {
156
157
  rangeStart ?? 25,
157
158
  rangeEnd ?? 50,
158
159
  stepperTitle ?? "Identification",
160
+ showCountDown ?? true,
159
161
  );
160
162
  },
161
163