Coder Social home page Coder Social logo

mobile-omnistack's Introduction

OmniStack - Mobile

The mobile implementation of OmniStack course.

See more details in the main repository.

First steps

After clonning the repository run yarn or yarn install to download Node packages.

WARNING: Make sure you have Java 8 installed. And point JAVA_HOME environment variable to it. Download here or here

Running the app

  • Start your emulator or connect your device
  • Run one of the commands to build/rebuild and deploy an app version to the device
    • iOS: yarn ios
    • Android: yarn android
  • Run yarn start to start the debug without recompiling all the application for your device.

If you install a new dependency, you must rebuild the project on iOS using pod install and running yarn ios to deploy again. On Android you just need to run yarn android

NOTE: for more details look on package.json

Device shortcuts

Android

  • Double tap R to reload code on device
  • Ctrl + M or shake to open React Native debug menu

iOS

  • Cmd + R to reload code on device
  • Cmd + D or shake to open React Native debug menu

Debug

In order to open debug, just open React Native debug menu and click debug. A Window will open on your browser to debug.

Debugging tips

Running on an emulator can be tricky, so read the following tips.

  • If using AndroidSDK's emulator run emulator -list-avds to retrieve the names of the configured emulator instances, then run emulator -avd plus the name of the avd you want to start. Eg: emulator -avd Nexus_5_API_27.
  • In order to run Android emulator pointing to our local machine, just run adb reverse tcp:3333 tcp:3333 that means, connect the device tcp port to our development machine port. See more details on documentation;

mobile-omnistack's People

Contributors

adrianokerber avatar dependabot[bot] 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.