---
title: "Delete Local Session Data"
url: "https://developer.incode.com/sdk-reference/react-native-delete-local-session-data/"
section: "sdk-reference"
group: "React Native SDK / React Native Getting Started"
version: "v1.1"
status: "live"
---
# 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.

```ts
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.