Android OAuth SDK

(Specific to Android OAuth SDK - under early access currently)

How does Truecaller SDK work for android apps?

Please refer here for details.

Can I use Truecaller SDK to verify mobile numbers for all my app users globally?

Truecaller SDK v3.0 has 2 key functionalities:

  • With the 1-tap verification functionality, you can verify mobile number of any active Truecaller app user (globally) on your app.

  • With the missed call based functionality, you can verify mobile number of any user who may not be an active Truecaller app user. The missed call functionality is currently available for India market and on android platform only.

Where can I find the technical documentation for integration on my android app?

Please refer to the technical documentation .

What is the right way / How do I implement the user flow in my app using Truecaller SDK?

Please refer here for details.

Why do I not get any callback after clicking any CTA on the consent screen.

In this case please check the instance that you pass in the method below:

TcSdk.getInstance().getAuthorizationCode(this);

It should be of the activity/fragment where you have initialized the SDK.

How can I find the SHA1 of my android app build?

Please refer for details.

What is the TcSdk.getInstance().isOAuthFlowUsable() method used for?

The isOAuthFlowUsable method, helps you check if the Truecaller SDK can be used for user verification or not. Depending on the "sdkOptions" scope you have defined while initialising the Truecaller SDK ( OPTION_VERIFY_ONLY_TC_USERS or OPTION_VERIFY_ALL_USERS ), below are the expected results:

OPTION_VERIFY_ALL_USERS: In this case, Truecaller SDK can be used to verify existing Truecaller users as well as non-Truecaller app users ( via missed call/ OTP flow ), hence isUsable() method would always return "true".

OPTION_VERIFY_ONLY_TC_USERS: In this case, Truecaller SDK can be used to verify only existing Truecaller users, hence isUsable() method would return "true" only if the users have Truecaller SDK on their devices. It would return "false" otherwise.

How do I fetch the Truecaller user profile after receiving the success callback ?

Please refer here.

Does Truecaller OAuth one tap SDK need any app permission?

For the verification of existing Truecaller users who have the app present on their smartphones, the SDK does not require any android system permissions, whatsoever.

How can I test my application with Truecaller SDK integration to make it release ready?

For details on test scenarios and setup, please refer here.

Do I need to submit an app permissions declaration form while uploading my app on google play store?

If you are also using the missed call based non Truecaller user verification functionality of the SDK ( currently supported for India only ), you need specific phone permissions as described here. For submitting your application on Google play store, please refer to our recommended guidelines here.

Last updated