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
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
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
|
|
package/assentify-sdk.podspec
CHANGED
|
@@ -91,7 +91,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
|
|
|
91
91
|
processMrz: processMrz,
|
|
92
92
|
storeCapturedDocument: storeCapturedDocument,
|
|
93
93
|
performLivenessDocument: performLivenessDocument,
|
|
94
|
-
|
|
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.
|
|
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",
|