<BlockSwitcher>
<Block name="React Native CLI">

Install the necessary dependencies by running the following command:

```sh
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage
```

You will also need to install the pod dependencies for iOS:

```sh
npx pod-install
```
</Block>
<Block name="Expo CLI">

Install the necessary dependencies by running the following command:

```sh
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage
```

</Block>
</BlockSwitcher>
