Truecaller SDK
3.0.0
Search
⌃K
Hello!
Why Truecaller SDK
Getting Started
ANDROID
🆕
OAuth SDK 3.0
Implementing user flow for your App
Scenarios for all user verifications : Truecaller and Non Truecaller Users
Integration Steps
Generating Client ID
Setup
Implementing Callbacks
Initialisation
Setting up OAuth parameters
Invocation
Customisation
Clearing SDK Instance
Handling Error Scenarios
Integrating with your Backend
Non Truecaller User Verification
Instrumentation
Getting Release Ready
SDK v2.8.0
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
Android OAuth 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 the SDK, you may use the following method
TcSdk.clear()
Ideally, you should call this method when the component in which you initialized the SDK is getting killed/destroyed.
For instance, if you have initialized the SDK in the onCreate() method of the activity lifecycle, then you need to call clear it in the onDestroy() method of the activity lifecycle.
Previous
Customisation
Next
Handling Error Scenarios
Last modified 4mo ago