kiot-cordova-plugin-truecaller

1.0.1 • Public • Published

title: Truecaller Authentication description: Authenticate users with Truecaller.

kiot-cordova-plugin-truecaller

Supported Platforms

  • Android

Generate Fingerprint/SHA1 On Linux

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

On Windows

keytool -list -v -keystore "c:\users\your_user_name\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android 

You can get the fingerprint/SHA1 from the command output

Generate partnerkey

  • Visit https://developer.truecaller.com/, create an account and login.
  • Navigate to your dashboard and add application.
  • Add your app name, package name and your fingerprint to add the application.
  • Copy the generated App Key, which is the partner key.

Installation

For installation use the original repo or keep a local copy of this repo and install

cordova plugin add <path>/kiot-cordova-plugin-truecaller

truecaller

truecaller.check(successCallback, errorCallback)

Can be used to find if the user has truecaller application installed on their device.

truecaller.verify(options, successCallback, errorCallback)

Displays the truecaller dialog to authenticate the user.

truecaller.clearSdk()

Clears the trueScope.

Example

cordova.plugins.truecaller.clearSdk()

Package Sidebar

Install

npm i kiot-cordova-plugin-truecaller

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

24.5 kB

Total Files

7

Last publish

Collaborators

  • kiot-innovations