voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 598 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/auth](./auth.md) > [ReactNativeAsyncStorage](./auth.reactnativeasyncstorage.md) > [getItem](./auth.reactnativeasyncstorage.getitem.md)
## ReactNativeAsyncStorage.getItem() method
Retrieve an item from storage.
<b>Signature:</b>
```typescript
getItem(key: string): Promise<string | null>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| key | string | storage key. |
<b>Returns:</b>
Promise<string \| null>