React Native – Getting Started

React Native allows building apps for both iOS and Android platforms. This is not building a hybrid application but the render part of React is done using native controls.

iOS development environment setup is easy and doesn’t require additional steps apart from those mentioned in the getting started section of facebook’s react-native site.

Android development environment setup is tedious as warned in the getting started site.

  1. At the time of writing this post, react-native tools do not support Java 9. Be sure to install JDK 8 versions only.
  2. Before executing react-native run-android the emulator should be running.
  3. Emulator should be using API 23 and running Marshmallow.
  4. ensure that this is added to the zsh or bash profile export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home

Namaste

Nrupal