- Platform: iOS & Android
- State Management: Redux
- Code Style: Standard
- Unit Test: None, take a look at snowflake for learning
- Related Articles: Let’s drawing charts in React-Native without any library
$ npm install$ npm run cleanreact-native unsupport for .babelrc since 0.16, so you have to remove all .babelrc in your project(includes packages)$ npm start- Open your Xcode, select a simulator, click the play button or
cmd + R
- Same to official doc
$ react-native run-android- It's a bit complicated to those who are not familiar with Android development, like me
The design is made by Sketch, you can find the original design file in [Dropbox], it may help if someone wants to design new features.
-
Check the official doc first, the following steps are based on official doc
-
Comment
consoleinlib/middleware/logger.js, because native environment doesn't support forconsole.group -
Generate js bundle: $ react-native bundle --entry-file index.ios.js --platform ios --bundle-output ./main.jsbundle
-
Add js bundle into your project: open Xcode, select Files -> Add Files to... -> select the main.jsbundle file that just generated
-
In Xcode, select your device, then click the play button or
cmd + R
I never tried
- Fix UI in Android
- Find a better way to organize css
- Unit test
MIT