Skip to content

livelybone/rn-base

Repository files navigation

MyApp

Integrated:

  1. react-navigation --- Solution of screen view management
  2. react-native-svg --- Solution of svg resource
  3. realm --- Solution of localStorage
  4. redux --- Solution of global state management
  5. react-native-camera --- Solution of camera using
  6. react-native-webview --- Solution of html render
  7. Some basic wrapped component
  8. rxjs --- Solution for data subscription

Some prepare

# rename the app
sh rename.sh YourAppName

# install dependencies
npm i --registry=http://registry.npm.taobao.org

Android

# develop
npm run android

# build
npm run build:android

iOS

# install dependencies
npm run pod

# develop, include `npm run pod`
npm run ios

# build
npm run build:ios

Solutions of some bugs

Cannot find the real App.tsx file

Try:

npm run reset-cache

About

react-native base framework, integrated realm(for localStorage), redux, react-navigation, react-native-camera, react-native-webview, rxjs, react-native-svg and some basic wrapped components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors