-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Truecaller React Native SDK documentation does not explain verification procedure for the Non-Truecaller users. #10
Comments
From the android docs, I tried updating this line in Earlier when truecaller app was not installed there was no response, no error. Now I am receiving an error |
Facing same issue, any resolution on same? |
The error that you are facing can be resolved by using runOnUiThread in a way so that the UI can be updated with our non-truecaller user verification disclaimer. While calling TruecallerSDK.getInstance.getUserProfile() method you need to wrap it like this : incase you face this error cannot find symbol UiThreadUtil.runOnUiThread(new Runnable() then just add this import statement in your activity |
Hi, |
|
Hi @srinivasNativeDeveloper , //For One-Tap implementation : The isUsable method would return true incase where the truecaller app is installed and logged in else it will return false.
here in react native I'm calling this authenticate method. |
else{ |
Thanks @srinivasNativeDeveloper. Working now. |
@aparnagude396 Happy to help you. |
Hi @srinivasNativeDeveloper, |
@aparnagude396 can you provide some more details for the above scenario? |
In my app I have provided truecaller login to the user. If the user is loggedin to the truecaller app in his mobile, In that case I can able to get the mobile details from truecaller app into our app. But if user has installed truecaller and loggedin to the app in his mobile, in that case I can't able to get the mobile details from truecaller app. so I'm showing user is not loggedinto truecaller app. But my client asked that if user is not loggedinto truecaller , in that case instead of showing error message we have to give provision to login into trucaller directly from our app. |
@aparnagude396 i sense that you are asking a way to verify non-truecaller users which may be done with the help of below requestverification flow.
|
@srinivasNativeDeveloper I'll try and let you know. |
How to get the Sms Retriever hash code for an Expo app? |
While the documentation for the existing Truecaller users is explained and works fine on implementation, but for non-truecaller users, there is hardly any content for the react native developers.
I went through the android installation guide and docs. Everything is implemented in java and trying to make it work for the react native projects has become headache. I have been splitting my hair for the last two days but with no success. There is hardly any content on the internet which explains about the set-up for non-truecaller users.
I will be very thankful if you could help me with this as I urgently require it for my project. Integrating Truecaller sdk has been very smooth and easy. I would ask you to please add the documentation part for non-truecaller users.
The text was updated successfully, but these errors were encountered: