使用Github查询API实现简单的Github App(React Native)
文章目录
GitHub App
GitHub App developed with React Native
源码地址:https://github.com/capricornc...
下载地址
目前只有安卓版,IOS需要$99美元才能发布安装包,所以只能启动项目,连接iPhone手机安装
https://capricorncd.github.io...
iPhone 6 plus截图

启动项目
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-nati...
矢量图标
Usage https://github.com/oblador/re...
Icons https://oblador.github.io/rea...
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论