VerificationCallback
instance with the requestCode TYPE_MISSED_CALL_RECEIVED
or TYPE_OTP_RECEIVED , you can complete the verification process by calling the following method from within your activity :TYPE_MISSED_CALL_RECEIVED
in your VerificationCallback
instanceVerificationCallback
instance with requestCode as TYPE_OTP_RECEIVED
and the OTP as a string in VerificationDataBundleVerificationCallback
instance with requestCode as TYPE_VERIFICATION_COMPLETE,
which completes your verification process.TYPE_VERIFICATION_COMPLETE,
you would get an accessToken as a parameter in the verificationDataBundle. You can use this access token to validate the authenticity of the verification flow by making an API call from your server to Truecaller's server. For details on this part, please refer here.