WendySanarwanto / react-native-tech-stack

A React Native mobile app sample which demonstrate redux integration on mobile app. The sample is taken from Udemy's "The Complete React Native & Redux" course, created by Stephen Grider.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-tech-stack

A React Native mobile app sample which demonstrate redux integration on mobile app. The sample is taken from Udemy's "The Complete React Native & Redux" course, created by Stephen Grider.

Pre-requisite

Setup

  • Clone this repository: git clone https://github.com/WendySanarwanto/react-native-tech-stack.git.

  • Change current directory to the cloned repo's directory.

  • Run yarn to install all required dependency.

  • Run cd android/app && keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 && cd ../.. for creating required developer certificate.

How to run the app on Android Simulator

  • Run the Android Simulator from Android Studio.

  • Once the Android Simulator is running & ready, run react-native run-android command to build, install and run the app on the Android simulator.

How to run the app on an Android Phone

  • Ensure that your Android Phone's developer mode is enabled & activated.

  • Connect your Phone with the development machine using USB Cable.

  • Run adb devices -l command, to confirm that the Phone is already connected and has device id. Make note the device id.

  • Run react-native run-android --deviceId <phone id you noted in prior step> command to build, install and run the app on your connected android phone.

How to run the app on iOS Simulator

TODO: Add the steps here

How to run the app on iOS Phone

TODO: Add the steps here

About

A React Native mobile app sample which demonstrate redux integration on mobile app. The sample is taken from Udemy's "The Complete React Native & Redux" course, created by Stephen Grider.

License:MIT License


Languages

Language:JavaScript 52.2%Language:Objective-C 19.7%Language:Ruby 10.8%Language:Python 9.1%Language:Java 8.2%