Truecaller
2.8.0
Search…
⌃K
2.8.0
Hello!
Why Truecaller SDK
Getting Started
ANDROID
Implementing user flow for your app
Scenarios for all user verifications : Truecaller and Non Truecaller Users
Generating App Key
Integrating with your App
Setup
App Key Configuration
Initialisation
Customisation
Implement Callbacks
Clearing SDK instance
Handling Error Scenarios
Verifying non Truecaller users
Advanced Steps
Server Side Response Validation
Instrumentation
Getting Release Ready
Changelog
MOBILE WEBSITES
Implementing user flow for your Mobile Website
Generating App Key
Integrating with your mobile website
Getting Release Ready
IOS
Generating App Key
Integrating with your iOS App
Server Side Response Validation
SHOPIFY APP
Generating App Key
App Configuration
Deactivating App Block
FAQs
General
Developer Account
Android App SDK
Mobile Web SDK
Number Verification Plugin
PRODUCT UPDATES
App Review Process
Introducing dark theme
Powered By GitBook

Clearing SDK instance

In order to clear the resources taken up by SDK, you can use the method TruecallerSDK.clear(); You can call this method when the activity/fragment in which you have initialised the SDK is getting killed/destroyed.
For example :
@Override
protected void onDestroy() {
super.onDestroy();
TruecallerSDK.clear();
}
Previous
Implement Callbacks
Next
Handling Error Scenarios
Last modified 2yr ago
Copy link