Code Monkey home page Code Monkey logo

cookiecutter-react-native's Introduction

Android React Native Project

React native for android Script are created with "npx react-native init"

We strip the ios part We bundle it inside virtualenv We don't use Expo CLI

Project Structure Reference

Prerequisite

  1. Make sure below library is installed

    sudo apt install nodejs nodeenv openjdk-17-jre
  2. Install Android SDK and create Android device

    Android SDK is bundle inside Android Studio so use Android Studio for easier device management

    sudo snap install --classic android-studio 
  3. Open Android Studio and create your device there

  4. Setup environment in your ~/.bashrc or ~/.bash_aliases file

    export ANDROID_SDK_ROOT=$HOME/Library/Android/Sdk
    export PATH=$PATH:$ANDROID_SDK_ROOT/emulator
    export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
  5. Install and cookiecutter this project

    pip3 install --user cookiecutter
    cookiecutter gh:wiryonolau/cookiecutter-react-native
  6. After finish activate virtualenv inside project root directory

    source .env/bin/activate

Running Application

Running Application require two separate terminal

First Terminal is to auto refresh your application on component change when developing

npx react-native start

Second Terminal to start android emulator with react-native

npx react-native run-android

TODO

  • Install and using watchman
  • Tutorial creating apk

cookiecutter-react-native's People

Contributors

wiryonolau avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.