<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [ReactNativeAsyncStorage](./auth.reactnativeasyncstorage.md) &gt; [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&lt;string \| null&gt;

