@digiotech/react-native 2.0.4 → 2.0.5
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
|
@@ -85,12 +85,12 @@ function YourComponent() {
|
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
## Android
|
|
88
|
-
- Digio SDK supports android version
|
|
88
|
+
- Digio SDK supports android version 8 (SDK level 26) and above
|
|
89
89
|
- Add below in your project under build.gradle (module:app)file inside dependencies
|
|
90
90
|
|
|
91
91
|
```tsx
|
|
92
92
|
// Required for esign/mandate sign
|
|
93
|
-
implementation 'com.github.digio-tech:protean-esign:v3.
|
|
93
|
+
implementation 'com.github.digio-tech:protean-esign:v3.12'
|
|
94
94
|
// under android {} of build.gradle(module:app)
|
|
95
95
|
buildFeatures {
|
|
96
96
|
viewBinding true
|
|
@@ -185,7 +185,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
|
185
185
|
```
|
|
186
186
|
|
|
187
187
|
### IOS Permission
|
|
188
|
-
- Digio SDK supports iOS
|
|
188
|
+
- Digio SDK supports iOS 15.6 and above
|
|
189
189
|
Permissions need to add in your info.plist
|
|
190
190
|
```
|
|
191
191
|
/** Camera permission incase of selfie/video KYC/ capture document **/
|
package/android/build.gradle
CHANGED
|
@@ -6,7 +6,12 @@ buildscript {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
dependencies {
|
|
9
|
-
classpath "com.android.tools.build:gradle:7.2.1"
|
|
9
|
+
// classpath "com.android.tools.build:gradle:7.2.1"
|
|
10
|
+
// classpath "com.android.tools.build:gradle:8.5.1"
|
|
11
|
+
classpath "com.android.tools.build:gradle:8.6.0"
|
|
12
|
+
|
|
13
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25"
|
|
14
|
+
|
|
10
15
|
}
|
|
11
16
|
}
|
|
12
17
|
|
|
@@ -63,20 +68,30 @@ android {
|
|
|
63
68
|
}
|
|
64
69
|
|
|
65
70
|
lintOptions {
|
|
66
|
-
disable "GradleCompatible"
|
|
71
|
+
// disable "GradleCompatible"
|
|
72
|
+
disable += ["GradleCompatible"]
|
|
67
73
|
}
|
|
68
74
|
|
|
69
75
|
compileOptions {
|
|
70
76
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
71
77
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
72
78
|
}
|
|
79
|
+
|
|
73
80
|
buildFeatures {
|
|
74
81
|
viewBinding true
|
|
75
82
|
dataBinding true
|
|
76
83
|
}
|
|
77
|
-
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
|
|
88
|
+
compilerOptions {
|
|
89
|
+
jvmTarget = "1.8"
|
|
90
|
+
}
|
|
78
91
|
}
|
|
79
92
|
|
|
93
|
+
|
|
94
|
+
|
|
80
95
|
repositories {
|
|
81
96
|
mavenCentral()
|
|
82
97
|
google()
|
|
@@ -89,7 +104,7 @@ dependencies {
|
|
|
89
104
|
//noinspection GradleDynamicVersion
|
|
90
105
|
implementation "com.facebook.react:react-native:+"
|
|
91
106
|
// core dependencies
|
|
92
|
-
implementation(platform("com.github.digio-tech:digio-bom:v1.0.
|
|
107
|
+
implementation(platform("com.github.digio-tech:digio-bom:v1.0.28"))
|
|
93
108
|
implementation("androidx.appcompat:appcompat")
|
|
94
109
|
implementation("com.google.android.material:material")
|
|
95
110
|
implementation("androidx.navigation:navigation-fragment-ktx")
|
|
@@ -123,7 +138,9 @@ dependencies {
|
|
|
123
138
|
implementation("androidx.exifinterface:exifinterface")
|
|
124
139
|
|
|
125
140
|
implementation("com.github.digio-tech:sdk_ml_camera")
|
|
126
|
-
implementation("com.google.mlkit:face-detection")
|
|
141
|
+
// implementation("com.google.mlkit:face-detection")
|
|
142
|
+
implementation("com.google.android.gms:play-services-mlkit-face-detection")
|
|
143
|
+
|
|
127
144
|
implementation("androidx.camera:camera-core")
|
|
128
145
|
implementation("androidx.camera:camera-camera2")
|
|
129
146
|
implementation("androidx.camera:camera-lifecycle")
|
|
@@ -141,5 +158,9 @@ dependencies {
|
|
|
141
158
|
implementation("androidx.lifecycle:lifecycle-livedata-ktx")
|
|
142
159
|
implementation("com.squareup.retrofit2:converter-gson")
|
|
143
160
|
|
|
161
|
+
implementation("org.simpleframework:simple-xml")
|
|
162
|
+
implementation("com.github.bumptech.glide:glide")
|
|
163
|
+
|
|
164
|
+
|
|
144
165
|
}
|
|
145
166
|
|
|
@@ -1,5 +1,22 @@
|
|
|
1
|
-
DigioReactNative_kotlinVersion=1.7.0
|
|
2
|
-
DigioReactNative_minSdkVersion=21
|
|
1
|
+
#DigioReactNative_kotlinVersion=1.7.0
|
|
2
|
+
#DigioReactNative_minSdkVersion=21
|
|
3
|
+
#DigioReactNative_targetSdkVersion=35
|
|
4
|
+
#DigioReactNative_compileSdkVersion=35
|
|
5
|
+
#DigioReactNative_ndkversion=21.4.7075529
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# Kotlin version for AGP 8.5+
|
|
10
|
+
DigioReactNative_kotlinVersion=1.9.25
|
|
11
|
+
|
|
12
|
+
# Update minSdk to match AGP 8.x requirements (21 is fine)
|
|
13
|
+
DigioReactNative_minSdkVersion=26
|
|
3
14
|
DigioReactNative_targetSdkVersion=35
|
|
4
15
|
DigioReactNative_compileSdkVersion=35
|
|
5
|
-
|
|
16
|
+
|
|
17
|
+
# NDK optional
|
|
18
|
+
DigioReactNative_ndkversion=26.2.11394342
|
|
19
|
+
|
|
20
|
+
# Java 17 required
|
|
21
|
+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
|
22
|
+
#android.suppressUnsupportedCompileSdk=35
|
|
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.license = package["license"]
|
|
12
12
|
s.authors = package["author"]
|
|
13
13
|
|
|
14
|
-
s.platforms = { :ios => "
|
|
14
|
+
s.platforms = { :ios => "15.6" }
|
|
15
15
|
s.source = { :git => "https://github.com/digio-tech/reactnative-sdk.git", :tag => "#{s.version}" }
|
|
16
16
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
package/package.json
CHANGED
|
Binary file
|