react-native-hyperkyc-sdk 0.3.1-alpha04 → 0.3.3
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.
|
@@ -108,6 +108,7 @@ public class HyperkycSdkModule extends ReactContextBaseJavaModule implements Act
|
|
|
108
108
|
WritableMap resultMap = new WritableNativeMap();
|
|
109
109
|
resultMap.putString("status", hyperKycResult.getStatus().toString());
|
|
110
110
|
resultMap.putString("reason", hyperKycResult.getReason());
|
|
111
|
+
resultMap.putString("applicationStatus", hyperKycResult.getApplicationStatus());
|
|
111
112
|
try {
|
|
112
113
|
if (hyperKycData != null) {
|
|
113
114
|
|
package/ios/HyperkycSdk.swift
CHANGED
|
@@ -47,6 +47,7 @@ class Hyperkyc: NSObject {
|
|
|
47
47
|
var resultEnumString = ""
|
|
48
48
|
var kycData = [:] as [String: Any]
|
|
49
49
|
var errorMessage = ""
|
|
50
|
+
var applicationStatus = ""
|
|
50
51
|
|
|
51
52
|
resultEnumString = String(describing: resultEnum)
|
|
52
53
|
|
|
@@ -119,7 +120,7 @@ class Hyperkyc: NSObject {
|
|
|
119
120
|
formViewResultList.append(formViewResultDictionary)
|
|
120
121
|
}
|
|
121
122
|
|
|
122
|
-
kycData["
|
|
123
|
+
kycData["formResultList"] = formViewResultList
|
|
123
124
|
|
|
124
125
|
//Process webview data
|
|
125
126
|
var webViewResultList : [[String: Any]] = []
|
|
@@ -140,10 +141,15 @@ class Hyperkyc: NSObject {
|
|
|
140
141
|
if let errorMsg = hyperKycResult.reason {
|
|
141
142
|
errorMessage = errorMsg
|
|
142
143
|
}
|
|
144
|
+
if let applStatus = hyperKycResult.applicationStatus {
|
|
145
|
+
applicationStatus = applStatus
|
|
146
|
+
}
|
|
147
|
+
|
|
143
148
|
|
|
144
149
|
let resultMap = [
|
|
145
150
|
"status" : resultEnumString,
|
|
146
151
|
"reason" : errorMessage,
|
|
152
|
+
"applicationStatus":applicationStatus,
|
|
147
153
|
"hyperKycData" : kycData
|
|
148
154
|
|
|
149
155
|
] as [String : Any]
|
|
Binary file
|