UdaciCards is a mobile flashcard app for IOS and Android, developed using React Native and Redux. This application is the the third project for Udacity's React Developer Nanodegree.
- To get start simply run
yarn
to install project dependencies. - Once dependencies are installed run
yarn start
- Follow on screen instructions to run the application
In the project directory, you can run:
Runs your app in development mode.
Open it in the Expo app on your phone to view it. It will reload if you save edits to your files, and you will see build errors and logs in the terminal.
Sometimes you may need to reset or clear the React Native packager's cache. To
do so, you can pass the --reset-cache
flag to the start script:
yarn start -- --reset-cache
# or
yarn start -- --reset-cache
Like yarn start
, but also attempts to open your app in the iOS Simulator if
you're on a Mac and have it installed.
Like yarn start
, but also attempts to open your app on a connected Android
device or emulator. Requires an installation of Android build tools (see
React Native docs
for detailed setup). We also recommend installing Genymotion as your Android
emulator. Once you've finished setting up the native build environment, there
are two options for making the right copy of adb
available to Create React
Native App:
- Make sure that you can run adb from your terminal.
- Open Genymotion and navigate to
Settings -> ADB
. Select “Use custom Android SDK tools” and update with your Android SDK directory.
- Find Genymotion’s copy of adb. On macOS for example, this is normally
/Applications/Genymotion.app/Contents/MacOS/tools/
. - Add the Genymotion tools directory to your path (instructions for Mac, Linux, and Windows).
- Make sure that you can run adb from your terminal.
This project is designed for both IOS and Android and has been tested on:
- iOS 11 on iPhone 7plus
- iOS Simulator (iPhone 8 and iPhone X)running IOS 11
- Google Nexus 5X running Android 8.0