@digiotech/react-native 1.0.16 → 1.0.18
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 +5 -1
- package/android/build.gradle +9 -3
- package/android/gradle.properties +2 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types/enums/environment.js.map +1 -1
- package/lib/commonjs/types/interfaces/digio_config.js.map +1 -1
- package/lib/commonjs/types/interfaces/digio_response.js.map +1 -1
- package/lib/commonjs/types/interfaces/error.js.map +1 -1
- package/lib/commonjs/types/interfaces/gateway_event.js.map +1 -1
- package/lib/commonjs/types/interfaces/theme.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/types/enums/environment.js.map +1 -1
- package/lib/module/types/interfaces/digio_config.js.map +1 -1
- package/lib/module/types/interfaces/digio_response.js.map +1 -1
- package/lib/module/types/interfaces/error.js.map +1 -1
- package/lib/module/types/interfaces/gateway_event.js.map +1 -1
- package/lib/module/types/interfaces/theme.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,10 +89,14 @@ function YourComponent() {
|
|
|
89
89
|
- Add digioKycworkflow.aar file inside your react project under android/app/libs folder. [Download digio_kyc_workflow-4.0.15.aar](https://drive.google.com/file/d/1nHeZhDBPavLxwJp0VgNrMiEZpXswENgz/view?usp=sharing)
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
- Add below in your project under build.gradle file inside dependencies
|
|
92
|
+
- Add below in your project under build.gradle (module:app)file inside dependencies
|
|
93
93
|
|
|
94
94
|
```tsx
|
|
95
95
|
implementation fileTree(dir: 'libs', include: ['*.aar'])
|
|
96
|
+
// Required for KYC/work_flow /video/2way video
|
|
97
|
+
implementation 'com.github.digio-tech:gateway_kyc:v4.0.20'
|
|
98
|
+
// Required for esign/mandate sign
|
|
99
|
+
implementation 'com.github.digio-tech:protean-esign:v3.2'
|
|
96
100
|
```
|
|
97
101
|
|
|
98
102
|
## SDK Reference
|
package/android/build.gradle
CHANGED
|
@@ -88,9 +88,9 @@ dependencies {
|
|
|
88
88
|
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
|
|
89
89
|
//noinspection GradleDynamicVersion
|
|
90
90
|
implementation "com.facebook.react:react-native:+"
|
|
91
|
-
implementation 'com.github.digio-tech:gateway:v4.0.
|
|
92
|
-
compileOnly 'com.github.digio-tech:gateway_kyc:v4.0.
|
|
93
|
-
implementation 'com.github.digio-tech:gateway_esign:4.0.
|
|
91
|
+
implementation 'com.github.digio-tech:gateway:v4.0.14'
|
|
92
|
+
compileOnly 'com.github.digio-tech:gateway_kyc:v4.0.20'
|
|
93
|
+
implementation 'com.github.digio-tech:gateway_esign:4.0.12'
|
|
94
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'
|
|
@@ -109,5 +109,11 @@ dependencies {
|
|
|
109
109
|
compileOnly 'com.github.digio-tech:protean-esign:v3.2'
|
|
110
110
|
implementation 'com.android.volley:volley:1.2.1'
|
|
111
111
|
implementation 'com.scottyab:rootbeer-lib:0.1.0'
|
|
112
|
+
|
|
113
|
+
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
|
|
114
|
+
implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
|
|
115
|
+
implementation 'com.github.digio-tech:cvl_esign:v1.0.1'
|
|
116
|
+
implementation 'com.github.digio-tech:cvl_rdservice:v1.0.0'
|
|
117
|
+
implementation 'com.google.code.gson:gson:2.9.1'
|
|
112
118
|
}
|
|
113
119
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
DigioReactNative_kotlinVersion=1.7.0
|
|
2
2
|
DigioReactNative_minSdkVersion=21
|
|
3
|
-
DigioReactNative_targetSdkVersion=
|
|
4
|
-
DigioReactNative_compileSdkVersion=
|
|
3
|
+
DigioReactNative_targetSdkVersion=34
|
|
4
|
+
DigioReactNative_compileSdkVersion=34
|
|
5
5
|
DigioReactNative_ndkversion=21.4.7075529
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_environment","LINKING_ERROR","Platform","select","ios","default","DigioReactNative","NativeModules","Proxy","get","Error","Digio","constructor","config","addGatewayEventListener","callback","OS","DeviceEventEmitter","addListener","data","digioReactNativeEmitter","NativeEventEmitter","start","documentId","identifier","tokenId","additionalData","buildConfigParams","environment","logo","theme","exports"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAWA,IAAAC,YAAA,GAAAD,OAAA;AAEA,MAAME,aAAa,
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_environment","LINKING_ERROR","Platform","select","ios","default","DigioReactNative","NativeModules","Proxy","get","Error","Digio","constructor","config","addGatewayEventListener","callback","OS","DeviceEventEmitter","addListener","data","digioReactNativeEmitter","NativeEventEmitter","start","documentId","identifier","tokenId","additionalData","buildConfigParams","environment","logo","theme","exports"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAWA,IAAAC,YAAA,GAAAD,OAAA;AAEA,MAAME,aAAa,GACjB,6EAA6E,GAC7EC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,gBAAgB,GAAGC,0BAAa,CAACD,gBAAgB,GACnDC,0BAAa,CAACD,gBAAgB,GAC9B,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACT,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAWE,MAAMU,KAAK,CAAC;EAGjBC,WAAWA,CAACC,MAAmB,EAAE;IAC/B,IAAI,CAACA,MAAM,GAAGA,MAAM;EACtB;EAEAC,uBAAuBA,CACrBC,QAAgC,EACX;IACrB,IAAIb,qBAAQ,CAACc,EAAE,KAAK,SAAS,EAAE;MAC7B,OAAOC,+BAAkB,CAACC,WAAW,CAAC,cAAc,EAAGC,IAAI,IAAK;QAC9D,IAAIJ,QAAQ,EAAE;UACZA,QAAQ,CAACI,IAAI,CAAC;QAChB;MACF,CAAC,CAAC;IACJ;IACA,IAAIjB,qBAAQ,CAACc,EAAE,KAAK,KAAK,EAAE;MACzB,MAAMI,uBAAuB,GAAG,IAAIC,+BAAkB,CAACf,gBAAgB,CAAC;MACxE,OAAOc,uBAAuB,CAACF,WAAW,CAAC,cAAc,EAAGC,IAAI,IAAK;QACnE,IAAIJ,QAAQ,EAAE;UACZA,QAAQ,CAACI,IAAI,CAAC;QAChB;MACF,CAAC,CAAC;IACJ;IACA,MAAMT,KAAK,CAAC,YAAYR,qBAAQ,CAACc,EAAE,gBAAgB,CAAC;EACtD;EAEA,MAAMM,KAAKA,CACTC,UAAkB,EAClBC,UAAkB,EAClBC,OAAgB,EAChBC,cAA0C,EAClB;IACxB,OAAOpB,gBAAgB,CAACgB,KAAK,CAC3BC,UAAU,EACVC,UAAU,EACVC,OAAO,IAAI,IAAI,EACfC,cAAc,IAAI,IAAI,EACtB,IAAI,CAACC,iBAAiB,CAAC,CAAC,IAAI,IAC9B,CAAC;EACH;EAEQA,iBAAiBA,CAAA,EAAG;IAC1B,IAAI,CAAC,IAAI,CAACd,MAAM,EAAE;IAClB,OAAO;MACLe,WAAW,EAAE,IAAI,CAACf,MAAM,CAACe,WAAW;MACpCC,IAAI,EAAE,IAAI,CAAChB,MAAM,CAACgB,IAAI;MACtB,GAAG,IAAI,CAAChB,MAAM,CAACiB;IACjB,CAAC;EACH;AACF;AAACC,OAAA,CAAApB,KAAA,GAAAA,KAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Environment","exports"],"sourceRoot":"../../../../src","sources":["types/enums/environment.ts"],"mappings":";;;;;;IAAYA,WAAW,GAAAC,OAAA,CAAAD,WAAA,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA"}
|
|
1
|
+
{"version":3,"names":["Environment","exports"],"sourceRoot":"../../../../src","sources":["types/enums/environment.ts"],"mappings":";;;;;;IAAYA,WAAW,GAAAC,OAAA,CAAAD,WAAA,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_config.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_config.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_response.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_response.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/error.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/error.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/gateway_event.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/gateway_event.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/theme.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/theme.ts"],"mappings":"","ignoreList":[]}
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DeviceEventEmitter","NativeEventEmitter","NativeModules","Platform","Environment","LINKING_ERROR","select","ios","default","DigioReactNative","Proxy","get","Error","Digio","constructor","config","addGatewayEventListener","callback","OS","addListener","data","digioReactNativeEmitter","start","documentId","identifier","tokenId","additionalData","buildConfigParams","environment","logo","theme"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,SACEA,kBAAkB,EAClBC,kBAAkB,EAClBC,aAAa,EACbC,QAAQ,QACH,cAAc;AAMrB,SAASC,WAAW,QAAQ,2BAA2B;AAEvD,MAAMC,aAAa,
|
|
1
|
+
{"version":3,"names":["DeviceEventEmitter","NativeEventEmitter","NativeModules","Platform","Environment","LINKING_ERROR","select","ios","default","DigioReactNative","Proxy","get","Error","Digio","constructor","config","addGatewayEventListener","callback","OS","addListener","data","digioReactNativeEmitter","start","documentId","identifier","tokenId","additionalData","buildConfigParams","environment","logo","theme"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,SACEA,kBAAkB,EAClBC,kBAAkB,EAClBC,aAAa,EACbC,QAAQ,QACH,cAAc;AAMrB,SAASC,WAAW,QAAQ,2BAA2B;AAEvD,MAAMC,aAAa,GACjB,6EAA6E,GAC7EF,QAAQ,CAACG,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,gBAAgB,GAAGP,aAAa,CAACO,gBAAgB,GACnDP,aAAa,CAACO,gBAAgB,GAC9B,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACP,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAWL,OAAO,MAAMQ,KAAK,CAAC;EAGjBC,WAAWA,CAACC,MAAmB,EAAE;IAC/B,IAAI,CAACA,MAAM,GAAGA,MAAM;EACtB;EAEAC,uBAAuBA,CACrBC,QAAgC,EACX;IACrB,IAAId,QAAQ,CAACe,EAAE,KAAK,SAAS,EAAE;MAC7B,OAAOlB,kBAAkB,CAACmB,WAAW,CAAC,cAAc,EAAGC,IAAI,IAAK;QAC9D,IAAIH,QAAQ,EAAE;UACZA,QAAQ,CAACG,IAAI,CAAC;QAChB;MACF,CAAC,CAAC;IACJ;IACA,IAAIjB,QAAQ,CAACe,EAAE,KAAK,KAAK,EAAE;MACzB,MAAMG,uBAAuB,GAAG,IAAIpB,kBAAkB,CAACQ,gBAAgB,CAAC;MACxE,OAAOY,uBAAuB,CAACF,WAAW,CAAC,cAAc,EAAGC,IAAI,IAAK;QACnE,IAAIH,QAAQ,EAAE;UACZA,QAAQ,CAACG,IAAI,CAAC;QAChB;MACF,CAAC,CAAC;IACJ;IACA,MAAMR,KAAK,CAAC,YAAYT,QAAQ,CAACe,EAAE,gBAAgB,CAAC;EACtD;EAEA,MAAMI,KAAKA,CACTC,UAAkB,EAClBC,UAAkB,EAClBC,OAAgB,EAChBC,cAA0C,EAClB;IACxB,OAAOjB,gBAAgB,CAACa,KAAK,CAC3BC,UAAU,EACVC,UAAU,EACVC,OAAO,IAAI,IAAI,EACfC,cAAc,IAAI,IAAI,EACtB,IAAI,CAACC,iBAAiB,CAAC,CAAC,IAAI,IAC9B,CAAC;EACH;EAEQA,iBAAiBA,CAAA,EAAG;IAC1B,IAAI,CAAC,IAAI,CAACZ,MAAM,EAAE;IAClB,OAAO;MACLa,WAAW,EAAE,IAAI,CAACb,MAAM,CAACa,WAAW;MACpCC,IAAI,EAAE,IAAI,CAACd,MAAM,CAACc,IAAI;MACtB,GAAG,IAAI,CAACd,MAAM,CAACe;IACjB,CAAC;EACH;AACF","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Environment"],"sourceRoot":"../../../../src","sources":["types/enums/environment.ts"],"mappings":"AAAA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA"}
|
|
1
|
+
{"version":3,"names":["Environment"],"sourceRoot":"../../../../src","sources":["types/enums/environment.ts"],"mappings":"AAAA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_config.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_config.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_response.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/digio_response.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/error.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/error.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/gateway_event.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/gateway_event.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/theme.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/interfaces/theme.ts"],"mappings":"","ignoreList":[]}
|