Amplify UI

Installation

Dependencies

Packages

@aws-amplify/ui-react-native is compatible for usage with the React Native apps created using the React Native CLI or Expo.

Install @aws-amplify/ui-react-native and its dependencies with npm or yarn:

npm install @aws-amplify/ui-react-native aws-amplify @aws-amplify/react-native react-native-safe-area-context @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values
yarn add @aws-amplify/ui-react-native aws-amplify @aws-amplify/react-native react-native-safe-area-context @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values

If your project will support Federated Sign In using the React Native Authenticator the @aws-amplify/rtn-web-browser package is also required:

npm install @aws-amplify/rtn-web-browser

Important note for integration with React Native projects using version 0.72 or below

@aws-amplify/react-native and @aws-amplify/rtn-web-browser require a minimum iOS deployment target of 13.0, open the Podfile located in the ios directory and update the target value:

- platform :ios, min_ios_version_supported
+ platform :ios, 13.0

Then install the iOS cocoapods by running:

npx pod-install

Amplify now requires native modules not available through the Expo SDK. As a result, Expo Go is no longer supported but you should still be able to use Expo. Learn more about dropping support for Expo Go in Amplify v6.

Install @aws-amplify/ui-react-native and its dependencies with npm or yarn:

npm install @aws-amplify/ui-react-native aws-amplify @aws-amplify/react-native react-native-safe-area-context @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values
yarn add @aws-amplify/ui-react-native aws-amplify @aws-amplify/react-native react-native-safe-area-context @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values

If your project will support Federated Sign In using the React Native Authenticator the @aws-amplify/rtn-web-browser package is also required:


npm install @aws-amplify/rtn-web-browser

Amplify open source software, documentation and community are supported by Amazon Web Services.

© 2024 Amazon Web Services, Inc. and its affiliates. All rights reserved. View the site terms and privacy policy.

Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.