@digiotech/react-native 2.0.7 → 2.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.
package/README.md CHANGED
@@ -84,7 +84,7 @@ function YourComponent() {
84
84
  }
85
85
  ```
86
86
 
87
- ## Android
87
+ ## Android
88
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
 
@@ -97,7 +97,7 @@ implementation 'com.github.digio-tech:protean-esign:v3.12'
97
97
  dataBinding true
98
98
  }
99
99
 
100
- // Make sure your project using
100
+ // Make sure your project using
101
101
  compileSdkVersion = 35
102
102
  targetSdkVersion = 35
103
103
  ```
@@ -203,3 +203,118 @@ Permissions need to add in your info.plist
203
203
  <string>$(PRODUCT_NAME) would like to access your location.</string>
204
204
  ```
205
205
  Note : All permissions should be checked and taken before triggering Digio SDK
206
+
207
+ ### Add LSApplicationQueriesSchemes in your iOS app's Info.plist file
208
+ ```
209
+ <key>LSApplicationQueriesSchemes</key>
210
+ <array>
211
+ <string>phonepe</string>
212
+ <string>gpay</string>
213
+ <string>paytmmp</string>
214
+ <string>bhim</string>
215
+ <string>upi</string>
216
+ <string>ppe</string>
217
+ </array>
218
+ ```
219
+
220
+ ### Proguard:
221
+ It is required to test the release build for possible proguard exceptions before prod releases.
222
+
223
+ ```
224
+ -keepattributes SourceFile,LineNumberTable
225
+ -keep public class * extends java.lang.Exception
226
+ -keepclassmembers class * {
227
+ @android.webkit.JavascriptInterface <methods>;
228
+ }
229
+ -keepattributes JavascriptInterface
230
+ -keepattributes *Annotation*
231
+ -keepattributes Signature
232
+ -optimizations !method/inlining/*
233
+ -keeppackagenames
234
+ -keepnames class androidx.navigation.fragment.NavHostFragment
235
+ -keep class * extends androidx.fragment.app.Fragment{}
236
+ -keepnames class * extends android.os.Parcelable
237
+ -keepnames class * extends java.io.Serializable
238
+ -keepclassmembers enum * {
239
+ public static **[] values();
240
+ public static ** valueOf(java.lang.String);
241
+ }
242
+ -dontwarn androidx.databinding.**
243
+ -keep class androidx.databinding.** { *; }
244
+ -keepclassmembers class * extends androidx.databinding.** { *; }
245
+ -dontwarn org.json.**
246
+ -keep class org.json** { *; }
247
+ -keep public class org.simpleframework.**{ *; }
248
+ -keep class org.simpleframework.xml.**{ *; }
249
+ -keep class org.simpleframework.xml.core.**{ *; }
250
+ -keep class org.simpleframework.xml.util.**{ *; }
251
+ -dontwarn com.google.android.gms.**
252
+ -keep class com.google.android.gms.** { *; }
253
+ -keep class com.google.android.material.** { *; }
254
+ -dontwarn org.simpleframework.**
255
+ -keepattributes ElementList, Root
256
+ -keepclassmembers class * {
257
+ @org.simpleframework.xml.* *;
258
+ }
259
+ -keep class org.spongycastle.** { *; }
260
+ -keep class com.ecs.rdlibrary.request.** { *; }
261
+ -keep class com.ecs.rdlibrary.response.** { *; }
262
+ -keep class com.ecs.rdlibrary.utils.** { *; }
263
+ -keep class com.ecs.rdlibrary.ECSBioCaptureActivity { *; }
264
+ -keep class org.simpleframework.xml.** { *; }
265
+ -keepattributes Exceptions, InnerClasses
266
+ -keep class com.google.android.gms.location.LocationSettingsRequest$Builder { *; }
267
+ -keepnames class ** { *; }
268
+ -keepclassmembers class * {
269
+ @android.webkit.JavascriptInterface <methods>;
270
+ }
271
+ -keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
272
+ -keepattributes AnnotationDefault
273
+ -keepclassmembers,allowshrinking,allowobfuscation interface * {
274
+ @retrofit2.http.* <methods>;
275
+ }
276
+ -dontwarn javax.annotation.**
277
+ -dontwarn kotlin.Unit
278
+ -dontwarn retrofit2.KotlinExtensions
279
+ -dontwarn retrofit2.KotlinExtensions$*
280
+ -if interface * { @retrofit2.http.* <methods>; }
281
+ -keep,allowobfuscation interface <1>
282
+ -if interface * { @retrofit2.http.* <methods>; }
283
+ -keep,allowobfuscation interface * extends <1>
284
+ -keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
285
+ -if interface * { @retrofit2.http.* public *** *(...); }
286
+ -keep,allowoptimization,allowshrinking,allowobfuscation class <3>
287
+ -keep,allowobfuscation,allowshrinking class retrofit2.Response
288
+ -adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
289
+ -dontwarn org.codehaus.mojo.animal_sniffer.*
290
+ -dontwarn okhttp3.internal.platform.**
291
+ -dontwarn org.conscrypt.**
292
+ -dontwarn org.bouncycastle.**
293
+ -dontwarn org.openjsse.**
294
+ -keep class * extends androidx.databinding.DataBinderMapper
295
+ -dontwarn kotlin.jvm.internal.SourceDebugExtension
296
+
297
+ -dontwarn org.xmlpull.v1.**
298
+ -keep class org.xmlpull.v1.** { *; }
299
+ -keep class in.digio.sdk.gateway.interfaces.FeatureRegistrationInterface$DefaultImpls { *; }
300
+
301
+ -keep class javax.xml.bind.annotation.** { *; }
302
+ -dontwarn javax.xml.bind.annotation.**
303
+ -keep class com.ecs.cdslxsds.ESignProcessorResponse { *; }
304
+
305
+ -dontwarn org.xmlpull.v1.XmlPullParser
306
+ -dontwarn android.content.res.XmlResourceParser
307
+
308
+ -keep class in.digio.sdk.gateway.interfaces.FeatureRegistrationInterface$DefaultImpls { *; }
309
+ -dontwarn java.lang.invoke.StringConcatFactory
310
+ -keep public class com.digio.two_way_sdk.** {
311
+ public *;
312
+ }
313
+ -keep class com.digio.two_way_sdk.** { *; }
314
+ -keep class androidx.databinding.** { *; }
315
+ -keep class androidx.viewbinding.** { *; }
316
+ -keep public class * extends androidx.**
317
+ -keep public class com.google.android.material.** { *; }
318
+ -keep public class androidx.** { public *; }
319
+ ```
320
+
@@ -104,7 +104,7 @@ dependencies {
104
104
  //noinspection GradleDynamicVersion
105
105
  implementation "com.facebook.react:react-native:+"
106
106
  // core dependencies
107
- implementation(platform("com.github.digio-tech:digio-bom:v1.0.38"))
107
+ implementation(platform("com.github.digio-tech:digio-bom:v1.0.59"))
108
108
  implementation("androidx.appcompat:appcompat")
109
109
  implementation("com.google.android.material:material")
110
110
  implementation("androidx.navigation:navigation-fragment-ktx")
@@ -122,7 +122,7 @@ dependencies {
122
122
 
123
123
  implementation("com.github.digio-tech:sdk_offlinekyc")
124
124
 
125
- // implementation("com.github.digio-tech:esign_otp")
125
+
126
126
  compileOnly("com.github.digio-tech:protean-esign")
127
127
  implementation("com.github.digio-tech:cvl_esign")
128
128
  implementation("com.scottyab:rootbeer-lib")
@@ -137,8 +137,8 @@ dependencies {
137
137
  implementation("com.github.digio-tech:image_processor")
138
138
  implementation("androidx.exifinterface:exifinterface")
139
139
 
140
- implementation("com.github.digio-tech:sdk_ml_camera")
141
- // implementation("com.google.mlkit:face-detection")
140
+ implementation("com.github.digio-tech:sdk_ml_camera")
141
+
142
142
  implementation("com.google.android.gms:play-services-mlkit-face-detection")
143
143
 
144
144
  implementation("androidx.camera:camera-core")
@@ -161,6 +161,8 @@ dependencies {
161
161
  implementation("org.simpleframework:simple-xml")
162
162
  implementation("com.github.bumptech.glide:glide")
163
163
 
164
+ implementation ("com.airbnb.android:lottie:6.6.6")
165
+ implementation("androidx.core:core-animation:1.0.0")
164
166
 
165
167
  }
166
168
 
@@ -47,7 +47,7 @@ import in.digio.sdk.gateway.model.DigioTheme;
47
47
  public class DigioReactNativeModule extends ReactContextBaseJavaModule implements LifecycleEventListener {
48
48
  public static final String NAME = "DigioReactNative";
49
49
 
50
- public static final String AAR_VERSION = "5.0.1";
50
+ public static final String AAR_VERSION = "5.1.22";
51
51
  public static final int DIGIO_ACTIVITY = 73457843;
52
52
  private Promise resultPromise;
53
53
  private boolean isReceiverRegistered = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digiotech/react-native",
3
- "version": "2.0.7",
3
+ "version": "2.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",