Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

truecaller_sdk_example

Demonstrates how to use the truecaller_sdk plugin.

You can find 2 example implementations under example/lib directory

  1. main.dart - a very basic, crude implementation of truecaller_sdk plugin which would look like this -

To run this file, just execute the following command after navigating to /example directory -

flutter run --target=lib/main.dart

  1. main_customization_screen.dart - sample implementation that shows different customization options available for truecaller_sdk plugin which would look like this -

To run this file, just execute the following command after navigating to /example directory -

flutter run --target=lib/customization/main_customization_screen.dart

Note : If you run these examples and proceed with user verification, SDK would give you error code 3 which indicates an incorrect app key. So you need to replace the partnerKey in AndroidManifest.xml with your own app key as mentioned in step 2 of Steps to integrate section.

License

MIT-licensed.