@digiotech/react-native 1.0.6-beta2 → 1.0.9

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.
@@ -74,6 +74,7 @@ android {
74
74
  viewBinding true
75
75
  dataBinding true
76
76
  }
77
+ buildToolsVersion '33.0.0'
77
78
  }
78
79
 
79
80
  repositories {
@@ -88,8 +89,9 @@ dependencies {
88
89
  //noinspection GradleDynamicVersion
89
90
  implementation "com.facebook.react:react-native:+"
90
91
  implementation 'com.github.digio-tech:gateway:v4.0.8'
91
- implementation fileTree(dir: "libs", include: ["*.aar"])
92
- // implementation 'com.github.digio-tech:gateway_kyc:v4.0.8'
92
+ implementation 'com.github.digio-tech:gateway_kyc:v4.0.8'
93
+ implementation 'com.github.digio-tech:gateway_esign:4.0.8_beta1'
94
+ // implementation fileTree(dir: "libs", include: ["*.aar"])
93
95
  implementation 'androidx.appcompat:appcompat:1.6.1'
94
96
  implementation 'com.google.android.material:material:1.9.0'
95
97
  implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
@@ -198,7 +198,12 @@ public class DigioReactNativeModule extends ReactContextBaseJavaModule implement
198
198
 
199
199
  intent.putExtra("config", digioConfig);
200
200
  intent.putExtra("aar_version", AAR_VERSION);
201
- intent.putExtra("navigation_graph", R.navigation.workflow);
201
+ if (documentId.startsWith("ENA") || documentId.startsWith("DID")){
202
+ intent.putExtra("navigation_graph", in.digio.sdk.esign.R.navigation.esign);
203
+ }else {
204
+ intent.putExtra("navigation_graph", in.digio.sdk.kyc.R.navigation.workflow);
205
+ }
206
+
202
207
  intent.putExtra("document_id", documentId);
203
208
  intent.putExtra("customer_identifier", identifier);
204
209
  intent.putExtra("token_id", tokenId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digiotech/react-native",
3
- "version": "1.0.6-beta2",
3
+ "version": "1.0.9",
4
4
  "description": "SDK for invoking client side journey for any of Digio request",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",