react-native-zyprotectabio-module 0.1.14 → 0.1.16
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/android/build.gradle
CHANGED
|
@@ -139,7 +139,7 @@ dependencies {
|
|
|
139
139
|
//INICIO_ZY_ZYTRUST
|
|
140
140
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
|
141
141
|
implementation 'com.google.android.material:material:1.5.0'
|
|
142
|
-
implementation(group: 'com.zy.multiempresa.android.lib.protecta', name: 'sdk', version: '1.0.
|
|
142
|
+
implementation(group: 'com.zy.multiempresa.android.lib.protecta', name: 'sdk', version: '1.0.20', ext: 'aar'){
|
|
143
143
|
transitive = true
|
|
144
144
|
}
|
|
145
145
|
|
package/android/src/main/java/com/reactnativezyprotectabiomodule/ZyprotectabioModuleModule.kt
CHANGED
|
@@ -40,7 +40,6 @@ class ZyprotectabioModuleModule(reactContext: ReactApplicationContext) : ReactCo
|
|
|
40
40
|
zyRequestApi.bioPais = opcionalData.bioPais
|
|
41
41
|
zyRequestApi.bioOperacion = opcionalData.tiOperacion
|
|
42
42
|
zyRequestApi.url = opcionalData.urlSource
|
|
43
|
-
zyRequestApi.flujoExterno = opcionalData.flujoExterno
|
|
44
43
|
|
|
45
44
|
Log.i(TAG, "calling onZyBioCapture")
|
|
46
45
|
Log.i(TAG, "nuDocumento:" + zyRequestApi.bioTiDoc)
|
|
@@ -113,8 +112,8 @@ class ZyprotectabioModuleModule(reactContext: ReactApplicationContext) : ReactCo
|
|
|
113
112
|
zyRequest.bioPais = zyRequestApi?.bioPais?.takeIf { it.isNotBlank() } ?: "PE"
|
|
114
113
|
zyRequest.bioOperacion = zyRequestApi?.bioOperacion?.takeIf { it.isNotBlank() } ?: "FLUJO_FACIAL_MANUAL"
|
|
115
114
|
zyRequest.isDialogActivated = true
|
|
116
|
-
zyRequest.url = zyRequestApi?.url?.takeIf { it.isNotBlank() } ?: "
|
|
117
|
-
zyRequest.flujoExterno =
|
|
115
|
+
zyRequest.url = zyRequestApi?.url?.takeIf { it.isNotBlank() } ?: "POC"
|
|
116
|
+
zyRequest.flujoExterno = ""
|
|
118
117
|
|
|
119
118
|
iZyApiCapturaFacial.zyCapturaFacial(zyRequest)
|
|
120
119
|
}
|
package/package.json
CHANGED