/middle-test

React Native application architecture example

Primary LanguageJavaScriptMIT LicenseMIT

middle-test (DEMO)

React Native application architecture example

This project was bootstrapped with Create React Native App.

Available Scripts

npm start

Runs the app in development mode.

npm run serve -- --reset-cache
# or
yarn serve -- --reset-cache

npm run android

Like npm start, but also attempts to open the 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:

android:bundle

Command to create release bundle for apk.

Using Android Studio's adb

  1. Make sure that you can run adb from your terminal.
  2. Open Genymotion and navigate to Settings -> ADB. Select “Use custom Android SDK tools” and update with your Android SDK directory.

Using Genymotion's adb

  1. Find Genymotion’s copy of adb. On macOS for example, this is normally /Applications/Genymotion.app/Contents/MacOS/tools/.
  2. Add the Genymotion tools directory to your path (instructions for Mac, Linux, and Windows).
  3. Make sure that you can run adb from your terminal.

Made by Alex Belets