React Native – Setup

Smart Android And Trik-Commenting on Andorid indeed never endless, because smart devices this one is often updated every certain amount of time. So that the market can always be garapnya menerinya with pleasure. And it is not denied if this device has become the lifestyle of each society. To not wonder if the 6th business information and many are turning to mobail smartphone. With Android which thoroughly dominated the mobile industry, choosing the best Android smartphone is almost identical to choose the best smartphone, period. But while Android phones have few real opponents on other platforms, internal competition is intense.

From the sleek devices impress with the design premium, up to a full plant furniture features, to a very good device, and affordable mobile phone has a heavy weight, the Android ecosystem inhabited by a diverse range of attractive mobile phone React Native – Setup React Native – Setup,But "oversize" are subjective, and sometimes pieces of the specification and a list of features is not enough to get an idea of how good a phone. In this roundup, we look at the absolute best-the Android phone you can't go wrong with. The habits of young people or to accentuate trand blindly lifestyle, make this a medoroang this clever device industry vying to do modifications to the device, with a distinctly vitur vitur-tercanggihnya. So it can be received over the counter React Native – Setup

There are a couple of things you need to install to set up the environment for React Native.We will use OSX as our building platform.

Install NodeJS and NPM  on UNIX/Linux/Mac OS X, and SunOS :

$ cd /tmp
$ wget http://ift.tt/2kqeihs
$ tar xvfz node-v6.3.1-linux-x64.tar.gz
$ mkdir -p /usr/local/nodejs
$ mv node-v6.3.1-linux-x64/* /usr/local/nodejs


Add /usr/local/nodejs/bin to the PATH environment variable.


Linux : export PATH=$PATH:/usr/local/nodejs/bin

Mac   : export PATH=$PATH:/usr/local/nodejs/bin


Step 1 – Install Homebrew
Open your terminal and run the following code to install Homebrew −

/usr/bin/ruby -e "$(curl -fsSL
http://ift.tt/YQTuQh)"


Step 2 – Install Watchman
Run the following code to install Watchman.

brew install watchman


Step 3 – Install React Native
Now, run the following code to install React Native.

npm install -g react-native-cli

Step 4.1 Android – Install Visual Studio
You can install Android studio by following this link.

Step 4.2 IOS – Install XCode
For IOS development you will need XCode.

Step 5 – Create First App
We will initialize our first app by running the code given below in the terminal from the folder where we want to create the app.

react-native init reactTutorialApp

Step 6 – Run React Native Packager
First, we need to open the app folder in terminal.

 cd reactTutorialApp

Now, we can run the packager.

react-native start

You should keep this terminal window running while developing your app.

Step 7 – Run the App on IOS simulator
This step will open your app in the IOS simulator. Run the following command in another terminal.

react-native run-ios

Find Us :


        Facebook  :@apnaandroid

        Google+   : Apna Java

        Youtube   : Android & Java Tutorial



Read:


Subscribe to receive free email updates:

0 Response to "React Native – Setup"

Post a Comment