在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:react-native-gitosc开源软件地址:https://gitee.com/rplees/react-native-gitosc开源软件介绍:ReactNative Git@OSC使用ReactNative仿造的Git@OSC! (感谢 xiekw2010) 最近适配了Android扫描下载Android(如下载不了可以打开 发布连接 下载) Getting StartedRequirements 详细环境搭建请参考使用ReactNative仿造的Git@OSC Android的功能
How to build this###Install JS env
if error about 'EACCS' try
##iOS open the project in ios dir
Release mode
react-native bundle --entry-file index.ios.js --bundle-output ./ios/bundle/index.ios.jsbundle --platform ios --assets-dest ./ios/bundle --dev false --sourcemap-output ./ios/bundle/source.map --verbose
Debug modeEdit xcode project Xcode run! AndroidDevice- sh ./build_android.sh Emulator- Just run the project Debug mode- react-native run-android code-push热更新(可选)安装```bashcnpm install -g code-push-cli --verbosecode-push register (会弹出网页,按照步骤安装)code-push access-key lscode-push app add RN_OSCGitcode-push deployment ls RN_OSCGitcode-push release-react RN_OSCGit ios --entryFile ./ios/bundle/index.ios.jsbundle#android code-push app add RN_OSCGit_androidcode-push deployment ls RN_OSCGit_androidcode-push release-react RN_OSCGit_android android``` Check app statuscode-push deployment ls RN_OSCGitcode-push deployment ls RN_OSCGit_android Publish updatecode-push release-react RN_OSCGit ios --entryFile ./ios/bundle/index.ios.jsbundlecode-push release-react RN_OSCGit_android android Let's talk about it(So far only Chinese supported)License |
请发表评论