Skip to content

True caller popup never opens #1

@najmulansari

Description

@najmulansari

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
}
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions