GitHub App

GitHub App developed with React-Native

源码地址:https://github.com/capricorncd/githubApp

下载地址

目前只有安卓版,IOS需要$99美元才能发布安装包,所以只能启动项目,连接iPhone手机安装

https://capricorncd.github.io/githubApp/download/index.html

iPhone 6 plus截图

使用Github API和React Native实现简单的Github App

启动项目

npm i -g react-native-cli
npm i
npm run ios
# or
npm run android

Build IOS

1.打包js文件,执行以下命令

npm run bundle-ios

2.启动Xcode:

2.1 添加js包到IOS项目(Add files to `GithubApp` )

2.2 运行

Build android

进入android目录

cd android

运行打包命令

./gradlew assembleRelease

相关文档

React Native https://reactnative.dev/

React Navigation https://reactnavigation.org/

React Redux https://react-redux.js.org/

WebView https://github.com/react-native-community/react-native-webview

矢量图标

Usage https://github.com/oblador/react-native-vector-icons

Icons https://oblador.github.io/react-native-vector-icons/

源码地址

https://github.com/capricorncd/githubApp

Logo

开源鸿蒙跨平台开发社区汇聚开发者与厂商,共建“一次开发,多端部署”的开源生态,致力于降低跨端开发门槛,推动万物智联创新。

更多推荐