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

osdio/noder-react-native: The mobile app of cnodejs.org written in React Native

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

开源软件名称(OpenSource Name):

osdio/noder-react-native

开源软件地址(OpenSource Url):

https://github.com/osdio/noder-react-native

开源编程语言(OpenSource Language):

JavaScript 93.5%

开源软件介绍(OpenSource Introduction):

Noder - A React-Native Client for cnodejs.org

A new cnodejs.org mobile & web app powered by react-native and react-web and CodeceptJS .

Install

微信浏览器中若无法打开安装链接,请复制链接到系统浏览器中打开

Develop

For local development you need to follow the below commands:

git clone https://github.com/soliury/noder-react-native.git noder
cd noder
yarn install

Click the run button in Xcode, if something went wrong, you need to rebuild all packages that be used in this project with Xcode (Just select the package and press command+B to run compile).

If you want to run it on your iPhone, please follow the Offical Doc.

If you want to run it on your Android, please run:

npm run android
npm start

If you want to run it on your Browser (localhost:3000), please run:

npm run web

e2e test

JS app code in src/write once run on Android, iOS and Web by react-native and react-web, now JS test case in e2e/ with locator ~ write once run on them too with CodeceptJS .

Web test

After install server side of test by npm run e2e-update-server-web, please run:

npm run web
npm run e2e-server-web

Then run client side of test by npm run e2e-web, thus a web page will be opened in firefox automatically and complete the test.

Android test

After install server side of test by npm install -g appium, please run:

npm run android
npm start
npm run e2e-server-native

Then run client side of test by npm run e2e-android, thus an apk will be installed to android automatically and complete the test.

If npm install -g appium is unavailable in china, ref to node_modules-appium .

Screenshots

noder

React-Native Modules In Using

This project is heavily influenced by the above modules.

ToDo List

  • Push Notification
  • Fix the below bugs
    • In ListView, sometime items on the bottom can't be refreshed
    • ListView take too much memory
    • HTML to native View render take too much memory and CPU time
  • Add Unit testing

Change log

Please read CHANGELOG

Contribute

If you find any issues, just solve it and make a PR.

This project is under the ES6 JSX.

License

MIT License




鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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