GithubHelp home page GithubHelp logo

react-native-sample-app's Introduction

react-native-sample-app

Playpen for React Native App - POCs etc

3rd party plugins

Run the app

Ensure you have the React Native local environ dependencies installed (e.g. XCode and Android Studio - link to getting started )

iOS

No need to open XCode, just run:

$ react-native run-ios

Android

Open android virtual device manager

$ android avd

Start a simulator from the device manager, then run the below

$ react-native run-android

In the beginning

The initial app was created on 4th Jan 2017 following the guidelines on

https://facebook.github.io/react-native/docs/getting-started.html

Also summarised below:

Pre Reqs

Node and Watchman

$ brew install node
$ brew install watchman

XCode (for iOS development)

Then install the react-native-cli node package globally

$ npm install -g react-native-cli

Initialise The App

$ react-native init sampleApp

Run The App

This should compile the initial app and run it in the Simulator

$ cd sampleApp
$ react-native run-ios

Note: if you see an error stating that the app ‘has not been registered’ then check that no existing terminal windows are running the react native package management stuff

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.