Home > @firebase/auth > ReactNativeAsyncStorage > getItem
ReactNativeAsyncStorage.getItem() method
Retrieve an item from storage.
Signature:
getItem(key: string): Promise<string | null>;
Parameters
Parameter | Type | Description |
---|---|---|
key | string | storage key. |
Returns:
Promise<string | null>