window.location = "truecallersdk://truesdk/web_verify?
requestNonce=UNIQUE_REQUEST_ID
&partnerKey=YOUR_PARTNER_KEY
&partnerName=YOUR_APP_NAME
&title=TITLE_STRING_OPTION";
if( document.hasFocus() ){
// Truecaller app not present on the device and you redirect the user
// to your alternate verification page
// Truecaller app present on the device and the profile overlay opens
// The user clicks on verify & you'll receive the user's access token to fetch the profile on your
// callback URL - post which, you can refresh the session at your frontend and complete the user verification