使用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...

相關文章
相關標籤/搜索