metamap-capacitor-plugin 4.7.17 → 4.7.18
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.
|
@@ -168,9 +168,16 @@ public class MetaMapCapacitorPlugin extends Plugin {
|
|
|
168
168
|
flowId,
|
|
169
169
|
builtMetadata,
|
|
170
170
|
null,
|
|
171
|
-
null
|
|
171
|
+
null,
|
|
172
|
+
(identityId, verificationId) -> {
|
|
173
|
+
Log.d("MetaMapCapacitorPlugin", "🟡 verificationStarted: identityId=" + identityId + ", verificationId=" + verificationId);
|
|
174
|
+
JSObject startedResult = new JSObject();
|
|
175
|
+
startedResult.put("identityId", identityId != null ? identityId : "");
|
|
176
|
+
startedResult.put("verificationId", verificationId != null ? verificationId : "");
|
|
177
|
+
startedResult.put("status", "started");
|
|
178
|
+
notifyListeners("verificationCreated", startedResult);
|
|
179
|
+
}
|
|
172
180
|
);
|
|
173
|
-
|
|
174
181
|
startActivityForResult(call, flowIntent, "callback");
|
|
175
182
|
|
|
176
183
|
} catch (Exception e) {
|