Skip to content

jonmanzo/react-native-counter-ios-android

 
 

Repository files navigation

react-native-counter-ios-android

Minimal implement of redux counter example on ReactNative iOS and Android

I don't use any syntax out of React Native's enabled transformations, so no any patch on ReactNative is needed.

  • react-native v0.18
  • redux v3
  • react-redux v4
  • redux-thunk v1
  • remote-redux-devtools v0.0.9

How to run this Porject

Setup iOS and Android env

see

Install npm dependecies

npm i

run iOS

Open ios/ReduxCounterUniversal.xcodeproj and hit run in Xcode.

run Android

emulator -avd [your_emulator_name] -gpu on &
react-native run-android

On Mac using fn + F2 to open debug panel

Also you can use adb logcat to log some android debug messages.

adb logcat -s 'ReactNative'

Remote devtools

chrome app (recommended)

See remote-redux-devtools for more information

Upgrade Guide

React Native Upgrading

License

MIT © C. T. Lin

About

Minimal implement of redux counter example on ReactNative iOS and Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 47.6%
  • JavaScript 42.1%
  • Java 9.8%
  • Shell 0.5%