-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi Ajit,
Thank you for providing the plugin to integrate truecaller API in react-native. I used the same code you have described on the page, but somehow the truecaller popup is not opening. The response is always null. Please help me fix this. Thank you.
I am using below packages.
"react": "18.3.1",
"react-native": "0.76.2",
"@ajitpatel28/react-native-truecaller": "^0.8.0",
const handleTruecallerLogin = async () => {
try {
const response = await openTruecallerForVerification();
console.log('Truecaller response', response);
// The userProfile will be updated automatically if verification is successful
} catch (err) {
console.error('Truecaller login error:', err);
// Handle error
}
};
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels