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.
Returns
Section titled “Returns”Example
Section titled “Example”import { asyncStorageAdapter } from "@rogue/console-sdk/storage/async-storage";const config = createConsoleConfig({ storage: asyncStorageAdapter() });