• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

react-native-gitosc: 使用ReactNative重写的OSChina的Git@OSC客户端

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

react-native-gitosc

开源软件地址:

https://gitee.com/rplees/react-native-gitosc

开源软件介绍:

ReactNative Git@OSC

js-standard-style

使用ReactNative仿造的Git@OSC! (感谢 xiekw2010)

............

更多截图

最近适配了Android

............

更多Android截图

扫描下载Android(如下载不了可以打开 发布连接 下载)Android

Getting Started

Requirements 详细环境搭建请参考

使用ReactNative仿造的Git@OSC Android的功能

  1. 推荐/热门/最近更新 项目浏览
  2. 发现 项目浏览.
  3. 用户页面(动态/项目/Star/Watch).
  4. 我的资料/设置/摇一摇/留言/分享.
  5. 项目的详情/Star/Watch/ 代码/README/issues及提交issue

How to build this

###Install JS env

npm install

if error about 'EACCS' try

sudo chown -R $(whoami) "$HOME/.npm"

##iOS

open the project in ios dir cd ios

pod install

Release mode

  1. edit xcode project OSCGit's scheme to release mode

  2. bundle the JS resources, in project root dir (如果第一次运行没生存index.ios.jsbundle,再运行一次)

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
  1. xcode run!

Debug mode

Edit xcode project OSCGit edit scheme to debug mode

Xcode run!

Android

Device

- 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 status

code-push deployment ls RN_OSCGitcode-push deployment ls RN_OSCGit_android

Publish update

code-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)

一次RN跨平台开发之旅

License

GPL. Copyright (c) rplees.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap