Skip to content

asyncStorageAdapter

asyncStorageAdapter(): StorageAdapter

Defined in: console-sdk/src/storage/asyncStorage/index.ts:33

Creates a StorageAdapter backed by @react-native-async-storage/async-storage — the explicit alternative to relying on the SDK’s optional-peer auto-detection. Saved devices persist across app restarts.

StorageAdapter

import { asyncStorageAdapter } from "@rogue/console-sdk/storage/async-storage";
const config = createConsoleConfig({ storage: asyncStorageAdapter() });