Skip to content

lisong/code-push-demo-app

Repository files navigation

base on

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

iOS eg.

$ git clone git@github.com:lisong/code-push-demo-app.git
$ cd code-push-demo-app
$ npm install
$ open ios/CodePushDemoApp.xcodeproj

android eg.

$ git clone git@github.com:lisong/code-push-demo-app.git
$ cd 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://api.code-push.com #登录code-push-server
$ code-push app add CodePushReactNativeDemo-ios ios react-native  #iOS版
$ code-push app add CodePushReactNativeDemo-android android react-native #android版
$ cd 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 热更新例子

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy