@digiotech/react-native 2.0.0 → 2.0.2
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 +23 -2
- package/android/build.gradle +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,7 +84,8 @@ function YourComponent() {
|
|
|
84
84
|
}
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
## Android
|
|
87
|
+
## Android
|
|
88
|
+
- Digio SDK supports android version 7 (SDK level 24) and above
|
|
88
89
|
- Add below in your project under build.gradle (module:app)file inside dependencies
|
|
89
90
|
|
|
90
91
|
```tsx
|
|
@@ -160,8 +161,28 @@ A fintech Android app can't access the following permission
|
|
|
160
161
|
- Read_phone_numbers
|
|
161
162
|
- Read_media_videos
|
|
162
163
|
|
|
163
|
-
|
|
164
|
+
## You get a build error due to a theme issue.
|
|
165
|
+
- Please add tools:replace="android:theme" under your android manifest.
|
|
166
|
+
```
|
|
167
|
+
<application
|
|
168
|
+
....
|
|
169
|
+
tools:replace="android:theme"
|
|
170
|
+
...
|
|
171
|
+
>
|
|
172
|
+
.....
|
|
173
|
+
</application>
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
## You get a build error due to a duplicate class android.support.v4
|
|
177
|
+
- Check your gradle.properties below should be added.
|
|
178
|
+
```
|
|
179
|
+
android.enableJetifier=true
|
|
180
|
+
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
181
|
+
|
|
182
|
+
```
|
|
164
183
|
|
|
184
|
+
### IOS Permission
|
|
185
|
+
- Digio SDK supports iOS 11 and above
|
|
165
186
|
Permissions need to add in your info.plist
|
|
166
187
|
```
|
|
167
188
|
/** Camera permission incase of selfie/video KYC/ capture document **/
|
package/android/build.gradle
CHANGED
|
@@ -89,7 +89,7 @@ dependencies {
|
|
|
89
89
|
//noinspection GradleDynamicVersion
|
|
90
90
|
implementation "com.facebook.react:react-native:+"
|
|
91
91
|
// core dependencies
|
|
92
|
-
implementation(platform("com.github.digio-tech:digio-bom:v1.0.
|
|
92
|
+
implementation(platform("com.github.digio-tech:digio-bom:v1.0.14"))
|
|
93
93
|
implementation("androidx.appcompat:appcompat")
|
|
94
94
|
implementation("com.google.android.material:material")
|
|
95
95
|
implementation("androidx.navigation:navigation-fragment-ktx")
|
|
@@ -107,7 +107,7 @@ dependencies {
|
|
|
107
107
|
|
|
108
108
|
implementation("com.github.digio-tech:sdk_offlinekyc")
|
|
109
109
|
|
|
110
|
-
implementation("com.github.digio-tech:esign_otp")
|
|
110
|
+
// implementation("com.github.digio-tech:esign_otp")
|
|
111
111
|
compileOnly("com.github.digio-tech:protean-esign")
|
|
112
112
|
implementation("com.github.digio-tech:cvl_esign")
|
|
113
113
|
implementation("com.scottyab:rootbeer-lib")
|