idowe / code-push-demo-app

react-native code-push 热更新例子

Home Page:https://www.regeng.xin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

base on

fork from https://github.com/Microsoft/react-native-code-push examples

iOS eg.

$ cd /path/to/code-push-demo-app
$ npm install
$ open ios/CodePushDemoApp.xcodeproj

android eg.

$ cd /path/to/code-push-demo-app
$ npm install
$ cd android
$ ./gradlew assembleRelease
$ cd app/build/outputs/apk #install app-release.apk into your phone

codepush 热更新

$ code-push login http://codepush.19910225.com:8080 #登录code-push-server
$ code-push app add CodePushReactNativeDemo-ios  #iOS版
$ code-push app add CodePushReactNativeDemo-android #android版
$ cd /path/to/code-push-demo-app
$ npm install
$ code-push release-react CodePushReactNativeDemo-ios ios -d Production #发布到code-push-server ios
$ code-push release-react CodePushReactNativeDemo-android android -d Production #发布code-push-server android

About

react-native code-push 热更新例子

https://www.regeng.xin/


Languages

Language:JavaScript 37.9%Language:Objective-C 35.6%Language:Java 13.6%Language:Python 12.9%