react-native-zybanbifbio-module 0.10.9 → 0.11.1
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 +65 -0
- package/android/build.gradle +3 -3
- package/package.json +2 -2
- package/react-native-zybanbifbio-module.podspec +1 -1
package/README.md
CHANGED
|
@@ -103,10 +103,75 @@ android {
|
|
|
103
103
|
```
|
|
104
104
|
## ANDROID REGLAS OFUSCAMIENTO
|
|
105
105
|
```
|
|
106
|
+
|
|
107
|
+
####################### INICIO Zy Lib #################################
|
|
108
|
+
-dontwarn org.bouncycastle.jce.provider.BouncyCastleProvider
|
|
109
|
+
-dontwarn com.google.gson.**
|
|
110
|
+
-dontwarn com.facebook.jni.**
|
|
111
|
+
-dontwarn com.facebook.react.**
|
|
112
|
+
|
|
113
|
+
# Mantener Zytrust
|
|
106
114
|
-keep class com.zy.banbif.android.lib.sdk.validacionfacial.** { *; }
|
|
107
115
|
-keep interface com.zy.banbif.android.lib.sdk.validacionfacial.** { *; }
|
|
116
|
+
|
|
117
|
+
# Mantener auth0
|
|
118
|
+
-keep class com.auth0.** { *; }
|
|
119
|
+
|
|
120
|
+
# Mantener FACE IDENTY
|
|
121
|
+
-keep class com.identy.face.** { *; }
|
|
108
122
|
-keep enum * {*;}
|
|
109
123
|
|
|
124
|
+
# Mantener Regula OCR
|
|
125
|
+
-keep class com.regula.documentreader.** { *; }
|
|
126
|
+
-keep class com.regula.common.** { *; }
|
|
127
|
+
-keep class androidx.appcompat.widget.FitWindowsLinearLayout { *; }
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
# Mantener todo React Native
|
|
131
|
+
-keep class com.facebook.react.** { *; }
|
|
132
|
+
-keep class com.zybanbifbiomodule.** { *; }
|
|
133
|
+
-keep class com.testbanbif_new.** { *; } # es del app test no es necesario incluirlo
|
|
134
|
+
|
|
135
|
+
# Mantener todos los managers y eventos nativos
|
|
136
|
+
-keep class com.facebook.react.uimanager.** { *; }
|
|
137
|
+
-keep class com.facebook.react.bridge.** { *; }
|
|
138
|
+
|
|
139
|
+
# Mantener componentes que usan reflexión (ViewManagers, NativeModules)
|
|
140
|
+
-keepclassmembers class * {
|
|
141
|
+
@com.facebook.react.uimanager.annotations.ReactProp <methods>;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
# Mantener clases usadas por JavaScriptCore
|
|
145
|
+
-keep class com.facebook.jni.** { *; }
|
|
146
|
+
|
|
147
|
+
# Mantener atributos de anotaciones (ReactProp, ReactModule, etc.)
|
|
148
|
+
-keepattributes *Annotation*
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
# Mantener Retrofit interfaces y métodos
|
|
152
|
+
-keep interface retrofit2.** { *; }
|
|
153
|
+
-keep class retrofit2.** { *; }
|
|
154
|
+
-dontwarn retrofit2.**
|
|
155
|
+
|
|
156
|
+
# Mantener métodos anotados de Retrofit
|
|
157
|
+
-keepclassmembers class * {
|
|
158
|
+
@retrofit2.http.* <methods>;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
# Mantener OkHttp
|
|
162
|
+
-keep class okhttp3.** { *; }
|
|
163
|
+
-dontwarn okhttp3.**
|
|
164
|
+
|
|
165
|
+
# Mantener Okio (usado por OkHttp)
|
|
166
|
+
-keep class okio.** { *; }
|
|
167
|
+
-dontwarn okio.**
|
|
168
|
+
|
|
169
|
+
# Mantener adaptadores de conversión (si usas Gson, Moshi, etc.)
|
|
170
|
+
-keep class com.google.gson.** { *; }
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
####################### FIN Zy Lib #################################
|
|
174
|
+
|
|
110
175
|
```
|
|
111
176
|
## Contributing
|
|
112
177
|
|
package/android/build.gradle
CHANGED
|
@@ -66,12 +66,12 @@ dependencies {
|
|
|
66
66
|
implementation 'com.google.android.material:material:1.5.0'
|
|
67
67
|
|
|
68
68
|
/************************gson***********************************/
|
|
69
|
-
implementation(group: 'com.zy.banbif.android.lib.sdk', name: 'validacionfacial', version: '7.0.
|
|
69
|
+
implementation(group: 'com.zy.banbif.android.lib.sdk', name: 'validacionfacial', version: '7.0.15', ext: 'aar'){
|
|
70
70
|
transitive = true
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
debugImplementation(group: 'com.identy.face', name: 'face', version: '6.1.
|
|
74
|
-
releaseImplementation(group: 'com.identy.face', name: 'face', version: '6.1.
|
|
73
|
+
debugImplementation(group: 'com.identy.face', name: 'face', version: '6.1.2-develop', ext: 'aar')
|
|
74
|
+
releaseImplementation(group: 'com.identy.face', name: 'face', version: '6.1.2', ext: 'aar')
|
|
75
75
|
|
|
76
76
|
//FIN_ZY_ZYTRUST
|
|
77
77
|
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
|
|
|
15
15
|
s.source = { :git => "https://github.com/ZYTRUST/react-native-zybanbifbio-module.git", :tag => "#{s.version}" }
|
|
16
16
|
s.source_files = "ios/*.{h,m,mm}"
|
|
17
17
|
|
|
18
|
-
s.dependency 'zy_banbif_bio_lib_ios', '3.
|
|
18
|
+
s.dependency 'zy_banbif_bio_lib_ios', '3.4.1'
|
|
19
19
|
s.dependency 'React'
|
|
20
20
|
|
|
21
21
|
end
|