wangcansun-template-expo
v0.0.4
Published
## Framework
Readme
Expo Template
Framework
DONE
- UI -> React Native -> Expo
- Test -> Jest
- Style -> Styled-Components
- DataFlow -> Redux
- AutoPack -> CircleCi
TODO
- Redux -> Redux Saga -> @360node/xxx
- Router -> React Navigation
- SDK -> Mock
- Some params in the expo need to be fixed by
sketch initcommand.
Guide Line
Pre Actions
- Install
Xcode - Register on expo
- Register for apple developer(For iOS only)
- Register for Android key? (Need to be confirmed)
- Install Expo on iOS and Android for testing on mobiles
- Install
expo-clibynpm install -g expo-clioryarn global add expo-cli
How to run
yarnyarn startthen do as the promotion.- You can make actions such as
Run on iOS simulatororRun on Android device/emulator
How to run as ios
- Run
yarn start:iosthen iOS simulator will start. - Find
Expoapp on iOS simulator and open it. - Open your app in
Expoand you will find the page.
How to run as android
- Install
expoon your android phone. - Toggle your android phone
debugger modetoon. - Plug your android phone to your computer.
- Run
yarn start:android. - Open
expoon your phone and start develop.
How to test
Run yarn test
CircleCi
Need to set two params.
Workflow
We rely on Expo to build packages.

You can go to Expo Documents to have a detailed look.
