Say “Hello world” using React Native in Linux – Code Like A Girl

Say “Hello world” using React Native in Linux

  • Say “Hello world” using React Native in LinuxStart the journey of developing native apps now.Hi everyone.So far I’m beginning to learn React Native and I’m very happy to share my way of starting out.Some background about me : I am 20 years old, a third year Computer Science student, and currently working as…
  • Install the React Native CLI.You may install this using the following command : npm install -g react-native-cli3.
  • Create a new React Native project.To start a new project, type the following command : react-native init project name4.
  • Run the react native appRun and build the app using the following command:for android : react-native run-androidAfter successful build, the following will appear on your mobile phone :Welcome message of a new React Native AppCongrats!
  • ^_^ConclusionReact native makes mobile development fun and easy by enabling developers to use the same JS codebase for building both android and ios native apps.I’m really looking forward to building my own mobile apps using React native soon.

This tutorial will focus on setting up your react native development environment on Linux as well as running your “Hello World” app in your mobile android device. We will build our application in a…

Say “Hello world” using React Native in LinuxStart the journey of developing native apps now.Hi everyone.So far I’m beginning to learn React Native and I’m very happy to share my way of starting out.Some background about me : I am 20 years old, a third year Computer Science student, and currently working as a developer here in the Philippines.This tutorial will focus on setting up your react native development environment on Linux as well as running your “Hello World” app in your mobile android device.Alright let’s keep going!Requirements :Before proceeding, be sure to install the latest version of the following on Linux (Ubuntu 16.10):npm (version 5.5.1 as of this writing)node (version 9.2.1 as of this writing)android sdk (command line tools only — for USB cablea mobile android phone1. Verify the installation of npm and node.You may check if npm and node is installed in your system using the following command: npm -v 5.5.1 node -v v9.2.12. Install the React Native CLI.You may install this using the following command : npm install -g react-native-cli3. Create a new React Native project.To start a new project, type the following command : react-native init project name4. Connect your mobile android device.We will build our application in a physical mobile device. To verify if your device is connected,type the following command : adb devicesnote : you need to authorize your mobile device and enable USB debugging by going to “SettingsDeveloper OptionsUSB debugging”5. Run the react native appRun and build the app using the following command:for android : react-native run-androidAfter successful build, the following will appear on your mobile phone :Welcome message of…

Say “Hello world” using React Native in Linux – Code Like A Girl