# leafing-react-native

> A starter boilerplate for a mobile app using React Native and Redux.

Latest version **1.0.1** (published 2016-08-06) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install leafing-react-native
pnpm add leafing-react-native
yarn add leafing-react-native
bun add leafing-react-native
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-08-06 |
| First published | 2016-08-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | parrunset |

## Links

- npm: https://www.npmjs.com/package/leafing-react-native
- npm.io page: https://npm.io/package/leafing-react-native

## Dependencies (9)

- [fbjs](https://npm.io/package/fbjs.md) ^0.8.3
- [react](https://npm.io/package/react.md) 15.2.1
- [redux](https://npm.io/package/redux.md) ^3.5.2
- [reactotron](https://npm.io/package/reactotron.md) ^0.8.0
- [react-redux](https://npm.io/package/react-redux.md) ^4.4.5
- [redux-thunk](https://npm.io/package/redux-thunk.md) ^2.1.0
- [react-native](https://npm.io/package/react-native.md) 0.31.0
- [react-native-router-flux](https://npm.io/package/react-native-router-flux.md) ^3.33.2
- [babel-preset-react-native](https://npm.io/package/babel-preset-react-native.md) ^1.9.0

## Recent versions

- 1.0.1 (latest) — 2016-08-06
- 1.0.0 — 2016-08-06

## README

# <a href='http://redux.js.org'><img src='https://github.com/parrunset/Leafing-React-Native/blob/master/src/images/Github.png' height='60'></a>
A starter boilerplate for a mobile app using React Native and Redux.

## Requirements
- [Node](https://nodejs.org) `4.x` or newer
- [React Native](http://facebook.github.io/react-native/docs/getting-started.html) for development
- [Xcode](https://developer.apple.com/xcode/) for iOS development
- [Android Studio](https://developer.android.com/studio/index.html) for Android development
- [Android SDK](https://developer.android.com/sdk/) `23.0.2` or newer for Android development
- [Genymotion](https://www.genymotion.com/) for Android emulation
- [Android Lollipop](https://www.android.com/versions/lollipop-5-0/) or newer on your Android device to test properly

See [Getting Started](https://facebook.github.io/react-native/docs/getting-started.html) to install requirement tools.

## Stack
- [React Native](https://facebook.github.io/react-native/) `0.31.0` for building native apps using react
- [Redux](http://rackt.github.io/redux/index.html) `3.5.2` a predictable state container for Javascript apps
- [Babel](http://babeljs.io/) `6.x.x` for ES6+ support
- [React Native Router Flux](https://github.com/aksonov/react-native-router-flux) a router based on new React Native Navigation API
- [Flow](http://flowtype.org/) adds static typing to JavaScript to improve developer productivity and code quality.

## Make the awesome
Just clone the repo
and start :
```shell
$ git clone https://github.com/parrunset/Leafing-React-Native.git myAwesomeApp
$ cd myAwesomeApp
$ npm i                         # Install Node.js components listed in ./package.json
```

### How to use ?
```shell
$ 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:
```shell
$ npm run android-setup-port    # adb reverse tcp:8081 tcp:8080
```
Start your emulator or connect your device.

## Debugging
[Access the in-app developer menu](https://facebook.github.io/react-native/docs/debugging.html) and select ``Debug in Chrome``.

#### Run Reactotron
```shell
$ npm run reactotron
```

![](https://github.com/skellock/reactotron/blob/master/images/Reactotron.gif)

See the [Reacotron docs](https://github.com/skellock/reactotron) 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:
```shell
$ npm run build-ios
```
###### Android:
```shell
$ npm run build-android
```

* Open ios/Wino/AppDelegate.m, comment line 34 and uncomment line 44.
* Press "Build and run" and :boom: !

## Issues
If you run into any issues please see the [Getting Started](http://facebook.github.io/react-native/docs/getting-started.html) guide for React Native before submitting an issue.

---
_Source: https://npm.io/package/leafing-react-native · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
