Skip to content

anorudes/react-native-mobx-easy-boilerplate

Repository files navigation

react-native-mobx-easy-boilerplate

A starter boilerplate for a mobile app using React Native and Mobx.
This boilerplate was create from react-native-redux-starter-kit

Requirements

See Getting Started to install requirement tools.

Stack

Make the awesome

Just clone the repo and start :

$ git clone https://github.com/LeoLeBras/react-native-redux-starter-kit.git myAwesomeApp
$ cd myAwesomeApp
$ npm i                         # Install Node.js components listed in ./package.json

How to use?

$ npm start                     # or: node_modules/react-native/packager/packager.sh

This will start a lightweight development server.

iOS:

Open App.xcodeproj in Xcode, build and run the project.

Android:
$ react-native start
$ react-native run-android # adb reverse tcp:8081 tcp:8080

Start your emulator or connect your device.

Debugging

Access the in-app developer menu and select Debug in Chrome.

Show log

$ npm run log # adb shell "logcat | grep 'ReactNativeJS'"
$ npm run log:full # adb logcat

Run Reactotron

$ npm run reactotron

See the Reacotron docs for more features.

Create a release build

  • Navigate to Product > Scheme > Edit Scheme... in Xcode and change Build Configuration to Release.
  • Run in terminal :
iOS:
$ npm run build-ios
Android:
$ npm run build-android
  • Open ios/Wino/AppDelegate.m, comment line 34 and uncomment line 44.
  • Press "Build and run" and 💥 !

Issues

If you run into any issues please see the Getting Started guide for React Native before submitting an issue.

Thanks

Big thanks LeoLeBras for the original react-native + redux boilerplate

About

React native mobx easy boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages