-
Notifications
You must be signed in to change notification settings - Fork 4
User Identity Verification
Kristiyan Petrov edited this page Mar 23, 2020
·
3 revisions
Since v1.5.0 the logged user in the sdk can now be marked as verified during an ongoing call if the third part app has marked as verified his/her identity.
- If your identity verification happens via alert dialog, on some devices (Samsung) it's required to call setDisplayMode(Background) before the alert dialog appears or the dialog will get canceled by the call going into pip mode. After the verification process you may bring the call ui back to FOREGROUND via setDisplayMode
To notify the verification of a user's identity for the current ongoing call please add the following code:
CallModule callModule = BandyerSDKClient.getInstance().getCallModule();
if (callModule == null) return;
Call ongoingCall = callModule.getOngoingCall();
if (ongoingCall == null) return;
boolean verified = true
callModule.setVerified(ongoingCall, verified);
Please note that the user will be shown as verified only if the other peer is in the call via Bandyer Chat Web Widget.