@36node/template-expo
It only works after sketch init.
Last updated 2 months ago by zzswang .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @36node/template-expo 
SYNC missed versions from official npm registry.

Expo Template

It only works after sketch init.

Framework

DONE

  1. UI -> React Native -> Expo
  2. Test -> Jest
  3. DataFlow -> Redux
  4. AutoPack -> CircleCi
  5. Router -> React Navigation

TODO

  1. Redux -> Redux Saga -> @360node/xxx
  2. SDK -> Mock
  3. Style -> Styled-Components(Bugs Here on web, wait for fix)
  4. Some params in the expo need to be fixed by sketch init command.

Guide Line

Pre Actions

  1. Install Xcode and Android Studio
  2. Register on expo
  3. Register for apple developer(For iOS only)
  4. Register for Android key? (Need to be confirmed)
  5. Install Expo on iOS and Android for testing on mobiles
  6. Install expo-cli by npm install -g expo-cli or yarn global add expo-cli

How to run

  1. yarn
  2. yarn start then do as the promotion.
  3. You can make actions such as Run on iOS simulator or Run on Android device/emulator

How to run as ios

  1. Run yarn start:ios then iOS simulator will start.
  2. Find Expo app on iOS simulator and open it.
  3. Open your app in Expo and you will find the page.

How to run as android

On your phone
  1. Install expo on your android phone
  2. Toggle your android phone debugger mode to on.
  3. Plug your android phone to your computer.
  4. Run yarn start:android.
  5. Open expo on your phone and start develop.
On the emulator
  1. Open Android Studio and init
  2. Open Config => AVD
  3. Install a new virtual device
  4. Start emulator
  5. Click Run on Android device/emulator
  6. Open expo on emulator and start developing

How to test

Run yarn test

CircleCi

Need to set two params.

  1. EXPO_USERNAME username of expo
  2. EXPO_PASSWORD password of expo

Workflow

We rely on Expo to build packages.

workflow

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

Current Tags

  • 0.0.6                                ...           latest (2 months ago)

4 Versions

  • 0.0.6                                ...           2 months ago
  • 0.0.5                                ...           2 months ago
  • 0.0.4                                ...           2 months ago
  • 0.0.2                                ...           4 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 12
Dependencies (24)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |