Skip to content

Commit 2f91751

Browse files
authored
fix(data): add missing dependencies for React Native (#5280) (#5281)
1 parent e472c41 commit 2f91751

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/fragments/lib/auth/js/getting-started-steps-basic-auth-react-native.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Install the necessary dependencies by running the following command:
55

66
```sh
7-
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage
7+
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage core-js
88
```
99

1010
You will also need to install the pod dependencies for iOS:
@@ -18,7 +18,7 @@ npx pod-install
1818
Install the necessary dependencies by running the following command:
1919

2020
```sh
21-
npm install aws-amplify @react-native-community/netinfo @react-native-async-storage/async-storage
21+
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage core-js
2222
```
2323

2424
</Block>

src/fragments/lib/datastore/react-native/getting-started/30_platformIntegration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ To enable SQLite with DataStore for enhanced local database performance, follow
7474
npx create-expo-app AmplifyDataStoreExpo
7575
cd AmplifyDataStoreExpo
7676
npx amplify-app@latest
77-
expo install aws-amplify @aws-amplify/datastore-storage-adapter expo-sqlite expo-file-system @react-native-community/netinfo @react-native-async-storage/async-storage
77+
expo install aws-amplify amazon-cognito-identity-js @aws-amplify/datastore-storage-adapter expo-sqlite expo-file-system @react-native-community/netinfo @react-native-async-storage/async-storage core-js
7878
```
7979

8080
Then configure the SQLite storage adapter with DataStore in your app:

src/fragments/start/getting-started/reactnative/getting-started-steps-ui.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Install the necessary dependencies by running the following command:
55

66
```sh
7-
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage
7+
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage core-js
88
```
99

1010
</Block>
@@ -13,7 +13,7 @@ npm install aws-amplify amazon-cognito-identity-js @react-native-community/netin
1313
Install the necessary dependencies by running the following command:
1414

1515
```sh
16-
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage
16+
npm install aws-amplify amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage core-js
1717
```
1818

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

0 commit comments

Comments
 (0)