使用Github查询API实现简单的Github App(React Native)

GitHub App

GitHub App developed with React Nativehtml

源码地址:https://github.com/capricornc...react

下载地址

目前只有安卓版,IOS须要$99美圆才能发布安装包,因此只能启动项目,链接iPhone手机安装android

https://capricorncd.github.io...ios

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文件,执行如下命令git

npm run bundle-ios

2.启动Xcode:github

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

2.2 运行

Build android

进入android目录web

cd android

运行打包命令npm

./gradlew assembleRelease

相关文档

React Native https://reactnative.dev/redux

React Navigation https://reactnavigation.org/react-native

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

WebView https://github.com/react-nati...

矢量图标

Usage https://github.com/oblador/re...

Icons https://oblador.github.io/rea...

源码地址

https://github.com/capricornc...

相关文章
相关标签/搜索