SDK reference · React Native SDK / React Native Getting Started

Delete Local Session Data

The Android SDK stores onboarding session data locally during a flow. When you are done with a session, call deleteLocalUserData() to remove this data. Each session can leave 5-6 MB of local data on the device.

await IncodeSdk.deleteLocalUserData();

Call this after a session completes, fails, or is cancelled by the user.

deleteLocalUserData() is exposed on both platforms through the shared IncodeSdk API, but it is currently a no-op on iOS - only the Android implementation deletes data.

Was this page helpful?