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.
Last updated