memoryStorage
memoryStorage():
StorageAdapter
Defined in: console-sdk/src/storage/memoryStorage.ts:67
Creates a fresh in-memory StorageAdapter — the explicit storage
choice for tests and demos, and the automatic fallback when the
@react-native-async-storage/async-storage optional peer is not installed.
Each call returns an isolated instance backed by its own Map; nothing is
shared across instances or module loads. Saved devices held by this adapter
do not survive an app restart.
Returns
Section titled “Returns”Example
Section titled “Example”const config = createConsoleConfig({ storage: memoryStorage() });