assentify-sdk-react-native 0.0.19 → 0.0.21

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,13 @@ yarn add assentify-sdk-react-native
93
93
 
94
94
  ## Versions
95
95
 
96
+ **0.0.21**
97
+ - Card Detect improvements
98
+ - Pods Update
99
+
100
+ **0.0.20**
101
+ - Submit Improvements
102
+
96
103
  **0.0.19**
97
104
  - Improvements
98
105
 
@@ -99,7 +99,7 @@ dependencies {
99
99
  implementation "com.facebook.react:react-native:+"
100
100
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
101
101
 
102
- implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:0.0.69'
102
+ implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:0.0.74'
103
103
 
104
104
  /* Assentify Sdk Dependencies */
105
105
  implementation 'com.google.code.gson:gson:2.8.9'
@@ -122,6 +122,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
122
122
  storeCapturedDocument,
123
123
  performLivenessDocument,
124
124
  performLivenessFace,
125
+ performLivenessFace,
125
126
  storeImageStream,
126
127
  saveCapturedVideoID,
127
128
  saveCapturedVideoFace
@@ -355,12 +356,15 @@ class AssentifySdkModule(context: ReactApplicationContext) :
355
356
  val gsonSharedStepDefinitions = Gson()
356
357
  val jsonSharedStepDefinitions: String =
357
358
  sharedStepDefinitionsDoc.getString(item.stepId.toString(), "")!!
358
- val sharedStepDefinitionsStep: SubmitRequestModel =
359
- gsonSharedStepDefinitions.fromJson(
360
- jsonSharedStepDefinitions,
361
- object : TypeToken<SubmitRequestModel>() {}.type
362
- )
363
- submitRequestList.add(sharedStepDefinitionsStep)
359
+ if (jsonSharedStepDefinitions.isNotEmpty()) {
360
+ val sharedStepDefinitionsStep: SubmitRequestModel =
361
+ gsonSharedStepDefinitions.fromJson(
362
+ jsonSharedStepDefinitions,
363
+ object : TypeToken<SubmitRequestModel>() {}.type
364
+ )
365
+ submitRequestList.add(sharedStepDefinitionsStep)
366
+ }
367
+
364
368
  }
365
369
  }
366
370
 
@@ -38,6 +38,6 @@ Pod::Spec.new do |s|
38
38
 
39
39
 
40
40
  s.dependency "React-Core"
41
- s.dependency "AssentifySdk", '0.0.54'
41
+ s.dependency "AssentifySdk", '0.0.61'
42
42
 
43
43
  end
@@ -91,7 +91,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
91
91
  processMrz: processMrz,
92
92
  storeCapturedDocument: storeCapturedDocument,
93
93
  performLivenessDocument: performLivenessDocument,
94
- performLivenessFace: performLivenessFace,
94
+ performActiveLivenessFace: performLivenessFace,
95
+ performPassiveLivenessFace: performLivenessFace,
95
96
  storeImageStream: storeImageStream,
96
97
  saveCapturedVideoID: saveCapturedVideoID,
97
98
  saveCapturedVideoFace: saveCapturedVideoFace
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assentify-sdk-react-native",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
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",