Skip to content

Commit 76d6f90

Browse files
dbanksdesignRachel Lee Nabors
authored andcommitted
fix(react-native): add install steps (#5240)
1 parent 7f3844d commit 76d6f90

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/fragments/ui/react-native/installation.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@
22

33
```
44
yarn add aws-amplify aws-amplify-react-native @react-native-picker/picker
5-
```
5+
```
6+
7+
If you are building for iOS you will need to install the CocoaPods:
8+
9+
```
10+
npx pod-install
11+
```

src/pages/ui/auth/authenticator/q/framework/[framework].mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import developerpreviewjs from '/src/fragments/ui/auth/developer-preview-callout
1313

1414
A simple way to add authentication flows into your app is to use the Authenticator component. The Authenticator component encapsulates an authentication workflow in the framework of your choice and is backed by the cloud resources set up in your Auth cloud resources.
1515

16+
import react_native1 from '/src/fragments/ui/react-native/installation.mdx';
17+
18+
<Fragments fragments={{ 'react-native': react_native1 }} />
19+
1620
import react0 from "/src/fragments/ui/auth/web/authenticator.mdx";
1721

1822
<Fragments fragments={{react: react0}} />

0 commit comments

Comments
 (0)