developmentseed / libra-live-react-native

A React Native application demoing Libra + AWS Lex integration
3 stars 2 forks source link

Getting Started

  1. Follow this guide to create a Cognito identity pool that will give your app access to AWS Lex

  2. Copy .env.sample to .env and fill in the respective values, including the Cognito identity pool ID you just created

  3. Follow the "Building Projects with Native Code" steps on the "Getting Started" guide for React Native to install dependencies for native development for your target platform (iOS, Android)

  4. Run yarn install

  5. Run the app

Running the app

  1. Start the JS code packager

yarn start

This process needs to remain running while you are developing the app, so it may be best to run in a separate terminal window/tab/pane.

  1. Run the app

iOS

yarn run react-native run-ios

Android

yarn run react-native run-android

React Native

react-native.md contains the default project documentation. For further information, see the official project website.