@digiotech/react-native 1.0.9 → 1.0.10

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
@@ -84,6 +84,17 @@ function YourComponent() {
84
84
  }
85
85
  ```
86
86
 
87
+ ## Android
88
+ #### Note: Incase you are using camera feature and facing black screen on camera then follow below steps
89
+ - Add digioKycworkflow.aar file inside your react project under android/app/libs folder. [Download digio_kyc_workflow-4.0.9.aar](https://drive.google.com/file/d/1FGhaihW42uL3dqGVMohvgu7Ie5EbBKb8/view?usp=sharing)
90
+
91
+
92
+ - Add below in your project under build.gradle file inside dependencies
93
+
94
+ ```tsx
95
+ implementation fileTree(dir: 'libs', include: ['*.aar'])
96
+ ```
97
+
87
98
  ## SDK Reference
88
99
 
89
100
  ### DigioConfig
@@ -89,16 +89,16 @@ dependencies {
89
89
  //noinspection GradleDynamicVersion
90
90
  implementation "com.facebook.react:react-native:+"
91
91
  implementation 'com.github.digio-tech:gateway:v4.0.8'
92
- implementation 'com.github.digio-tech:gateway_kyc:v4.0.8'
92
+ // implementation 'com.github.digio-tech:gateway_kyc:v4.0.12_beta'
93
93
  implementation 'com.github.digio-tech:gateway_esign:4.0.8_beta1'
94
- // implementation fileTree(dir: "libs", include: ["*.aar"])
94
+ compileOnly fileTree(dir: "libs", include: ["*.aar"])
95
95
  implementation 'androidx.appcompat:appcompat:1.6.1'
96
96
  implementation 'com.google.android.material:material:1.9.0'
97
97
  implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
98
- implementation "androidx.camera:camera-core:1.1.0"
99
- implementation "androidx.camera:camera-camera2:1.1.0"
100
- implementation "androidx.camera:camera-lifecycle:1.1.0"
101
- implementation "androidx.camera:camera-view:1.1.0"
98
+ implementation "androidx.camera:camera-core:1.2.2"
99
+ implementation "androidx.camera:camera-camera2:1.2.2"
100
+ implementation "androidx.camera:camera-lifecycle:1.2.2"
101
+ implementation "androidx.camera:camera-view:1.2.2"
102
102
  implementation 'androidx.navigation:navigation-fragment:2.5.3'
103
103
  implementation 'androidx.navigation:navigation-ui:2.5.3'
104
104
  implementation 'androidx.preference:preference:1.2.0'
@@ -10,14 +10,13 @@ import android.text.TextUtils;
10
10
 
11
11
  import androidx.annotation.NonNull;
12
12
  import androidx.annotation.Nullable;
13
- import androidx.core.content.ContextCompat;
14
13
 
15
14
  import com.facebook.react.bridge.ActivityEventListener;
16
15
  import com.facebook.react.bridge.Arguments;
16
+ import com.facebook.react.bridge.LifecycleEventListener;
17
17
  import com.facebook.react.bridge.Promise;
18
18
  import com.facebook.react.bridge.ReactApplicationContext;
19
19
  import com.facebook.react.bridge.ReactContextBaseJavaModule;
20
- import com.facebook.react.bridge.LifecycleEventListener;
21
20
  import com.facebook.react.bridge.ReactMethod;
22
21
  import com.facebook.react.bridge.ReadableMap;
23
22
  import com.facebook.react.bridge.WritableArray;
@@ -198,9 +197,9 @@ public class DigioReactNativeModule extends ReactContextBaseJavaModule implement
198
197
 
199
198
  intent.putExtra("config", digioConfig);
200
199
  intent.putExtra("aar_version", AAR_VERSION);
201
- if (documentId.startsWith("ENA") || documentId.startsWith("DID")){
200
+ if (documentId.startsWith("ENA") || documentId.startsWith("DID")) {
202
201
  intent.putExtra("navigation_graph", in.digio.sdk.esign.R.navigation.esign);
203
- }else {
202
+ } else {
204
203
  intent.putExtra("navigation_graph", in.digio.sdk.kyc.R.navigation.workflow);
205
204
  }
206
205
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digiotech/react-native",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
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",
Binary file