Home > @firebase/auth > ReactNativeAsyncStorage > setItem
ReactNativeAsyncStorage.setItem() method
Persist an item in storage.
Signature:
setItem(key: string, value: string): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
key | string | storage key. |
value | string | storage value. |
Returns:
Promise<void>