@digiotech/react-native 2.0.14 → 2.0.16
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
|
@@ -316,5 +316,37 @@ It is required to test the release build for possible proguard exceptions before
|
|
|
316
316
|
-keep public class * extends androidx.**
|
|
317
317
|
-keep public class com.google.android.material.** { *; }
|
|
318
318
|
-keep public class androidx.** { public *; }
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
#emudhra
|
|
322
|
+
-keep class com.emudhra.** { *; }
|
|
323
|
+
-keep interface com.emudhra.** { *; }
|
|
324
|
+
-keepclassmembers class com.emudhra.** {
|
|
325
|
+
native <methods>;
|
|
326
|
+
}
|
|
327
|
+
-dontwarn com.emudhra.**
|
|
328
|
+
|
|
329
|
+
# Jackson dataformat XML (used by emudhra at runtime via XmlMapper)
|
|
330
|
+
-keep class com.fasterxml.jackson.** { *; }
|
|
331
|
+
-keepnames class com.fasterxml.jackson.** { *; }
|
|
332
|
+
-dontwarn com.fasterxml.jackson.**
|
|
333
|
+
|
|
334
|
+
# Woodstox - StAX implementation backing jackson-dataformat-xml.
|
|
335
|
+
# FactoryFinder uses Class.forName via META-INF/services lookup; the impl
|
|
336
|
+
# classes must not be obfuscated or shrunk away.
|
|
337
|
+
-keep class com.ctc.wstx.** { *; }
|
|
338
|
+
-keep class org.codehaus.stax2.** { *; }
|
|
339
|
+
-dontwarn com.ctc.wstx.**
|
|
340
|
+
-dontwarn org.codehaus.stax2.**
|
|
341
|
+
|
|
342
|
+
# StAX API surfaces referenced via reflection
|
|
343
|
+
-keep class javax.xml.stream.** { *; }
|
|
344
|
+
-dontwarn javax.xml.stream.**
|
|
345
|
+
-keep class * implements javax.xml.stream.XMLInputFactory
|
|
346
|
+
-keep class * implements javax.xml.stream.XMLOutputFactory
|
|
347
|
+
-keep class * implements javax.xml.stream.XMLEventFactory
|
|
348
|
+
|
|
349
|
+
-keepattributes Signature, *Annotation*, EnclosingMethod, InnerClasses
|
|
350
|
+
|
|
319
351
|
```
|
|
320
352
|
|
package/android/build.gradle
CHANGED
|
@@ -97,6 +97,12 @@ repositories {
|
|
|
97
97
|
google()
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
rootProject.allprojects {
|
|
101
|
+
repositories {
|
|
102
|
+
maven { url 'https://pkgs.dev.azure.com/eMudhraTrustService/b81ae285-cb60-4000-8c39-394db16f2a75/_packaging/eMudhraEsignAAR/maven/v1' }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
100
106
|
|
|
101
107
|
dependencies {
|
|
102
108
|
// For < 0.71, this will be from the local maven repo
|
|
@@ -104,7 +110,7 @@ dependencies {
|
|
|
104
110
|
//noinspection GradleDynamicVersion
|
|
105
111
|
implementation "com.facebook.react:react-native:+"
|
|
106
112
|
// core dependencies
|
|
107
|
-
implementation(platform("com.github.digio-tech:digio-bom:v1.0.
|
|
113
|
+
implementation(platform("com.github.digio-tech:digio-bom:v1.0.91"))
|
|
108
114
|
implementation("androidx.appcompat:appcompat")
|
|
109
115
|
implementation("com.google.android.material:material")
|
|
110
116
|
implementation("androidx.navigation:navigation-fragment-ktx")
|
|
@@ -120,7 +126,6 @@ dependencies {
|
|
|
120
126
|
implementation("com.github.digio-tech:digio_permissions")
|
|
121
127
|
implementation("com.google.android.gms:play-services-location")
|
|
122
128
|
|
|
123
|
-
implementation("com.github.digio-tech:sdk_offlinekyc")
|
|
124
129
|
|
|
125
130
|
|
|
126
131
|
compileOnly("com.github.digio-tech:protean-esign")
|
|
@@ -164,5 +169,18 @@ dependencies {
|
|
|
164
169
|
implementation ("com.airbnb.android:lottie:6.6.6")
|
|
165
170
|
implementation("androidx.core:core-animation:1.0.0")
|
|
166
171
|
|
|
172
|
+
implementation('com.emudhra:esign:1.0.0-SNAPSHOT') {
|
|
173
|
+
changing = true
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
implementation("org.bouncycastle:bcprov-jdk16:1.45")
|
|
177
|
+
|
|
178
|
+
// Required by eMudhra at runtime; Jitpack esign_biometrics POM doesn't propagate it
|
|
179
|
+
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.15.1") {
|
|
180
|
+
exclude group: "xpp3", module: "xpp3"
|
|
181
|
+
exclude group: "org.xmlpull", module: "xmlpull"
|
|
182
|
+
exclude group: "javax.xml.stream", module: "stax-api"
|
|
183
|
+
}
|
|
184
|
+
|
|
167
185
|
}
|
|
168
186
|
|
|
@@ -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.1.
|
|
50
|
+
public static final String AAR_VERSION = "5.1.23";
|
|
51
51
|
public static final int DIGIO_ACTIVITY = 73457843;
|
|
52
52
|
private Promise resultPromise;
|
|
53
53
|
private boolean isReceiverRegistered = false;
|