react-native-kalapa-ekyc 1.1.1 → 1.1.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
CHANGED
|
@@ -174,4 +174,20 @@ MIT
|
|
|
174
174
|
|
|
175
175
|
## Support
|
|
176
176
|
|
|
177
|
-
For support, please contact [support@kalapa.vn](mailto:support@kalapa.vn) or visit our [documentation](https://docs.kalapa.vn).
|
|
177
|
+
For support, please contact [support@kalapa.vn](mailto:support@kalapa.vn) or visit our [documentation](https://docs.kalapa.vn).
|
|
178
|
+
|
|
179
|
+
## Changelog
|
|
180
|
+
** 1.0.7
|
|
181
|
+
- General: Apply new flow for both Android & iOS
|
|
182
|
+
- iOS: UI & UX optimization
|
|
183
|
+
- Android: UI & UX optimization
|
|
184
|
+
** 1.1.0
|
|
185
|
+
- Android: Support target version sdk 35 & edge to edge
|
|
186
|
+
- Android: Support base64 library
|
|
187
|
+
- UI & UX optimize
|
|
188
|
+
** 1.1.1
|
|
189
|
+
- Android: Remove unnecesary jcenter
|
|
190
|
+
** 1.1.2
|
|
191
|
+
- Android: Remove unnecesary jitpack.io
|
|
192
|
+
- Android: Update animation avoid gif
|
|
193
|
+
- Stable version
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,6 @@ buildscript {
|
|
|
3
3
|
repositories {
|
|
4
4
|
google()
|
|
5
5
|
mavenCentral()
|
|
6
|
-
maven { uri 'https://www.jitpack.io'}
|
|
7
6
|
}
|
|
8
7
|
|
|
9
8
|
dependencies {
|
|
@@ -49,12 +48,11 @@ repositories {
|
|
|
49
48
|
}
|
|
50
49
|
google()
|
|
51
50
|
mavenCentral()
|
|
52
|
-
maven { uri 'https://www.jitpack.io'}
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
dependencies {
|
|
56
54
|
//noinspection GradleDynamicVersion
|
|
57
55
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
58
56
|
//kalapasdk
|
|
59
|
-
implementation 'vn.kalapa.payme:ekyc:2.10.9.
|
|
57
|
+
implementation 'vn.kalapa.payme:ekyc:2.10.9.4'
|
|
60
58
|
}
|
|
@@ -56,6 +56,7 @@ public class KalapaEkycModule extends ReactContextBaseJavaModule {
|
|
|
56
56
|
String btnTextColor = data.getString("btn_text_color") != null ? data.getString("btn_text_color") : "#FFFFFF";
|
|
57
57
|
String language = data.getString("language") != null ? data.getString("language") : "en";
|
|
58
58
|
int livenessVersion = data.getInt("liveness_version");
|
|
59
|
+
|
|
59
60
|
|
|
60
61
|
String faceData = data.getString("face_data") != null ? data.getString("face_data") : "";
|
|
61
62
|
String mrzData = data.getString("mrz") != null ? data.getString("mrz") : "";
|
|
@@ -71,7 +72,7 @@ public class KalapaEkycModule extends ReactContextBaseJavaModule {
|
|
|
71
72
|
.withBtnTextColor(btnTextColor)
|
|
72
73
|
.withLanguage(language)
|
|
73
74
|
.withLivenessVersion(livenessVersion).build();
|
|
74
|
-
|
|
75
|
+
System.out.println("KLP KalapaSDKConfig: " + klpConfig.getLivenessVersion());
|
|
75
76
|
KalapaSDK.KalapaSDKBuilder builder = new KalapaSDK.KalapaSDKBuilder(getCurrentActivity(), klpConfig);
|
|
76
77
|
if (faceData != null && !faceData.isEmpty()) builder.withFaceData(faceData);
|
|
77
78
|
if (mrzData != null && !mrzData.isEmpty()) builder.withMrz(mrzData);
|