Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

The mobile app of cnodejs.org written in React Native

NotificationsYou must be signed in to change notification settings

osdio/noder-react-native

Repository files navigation

A newcnodejs.org mobile & web app powered byreact-native andreact-web andCodeceptJS .

Install

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

Develop

For local development you need to follow the below commands:

git clone https://github.com/soliury/noder-react-native.git nodercd noderyarn 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 presscommand+B to run compile).

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

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

npm run androidnpm start

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

npm run web

e2e test

JS app code insrc/write once run on Android, iOS and Web by react-native and react-web, now JS test case ine2e/ with locator ~ write once run on them too withCodeceptJS .

Web test

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

npm run webnpm run e2e-server-web

Then run client side of test bynpm 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 bynpm install -g appium, please run:

npm run androidnpm startnpm run e2e-server-native

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

Ifnpm install -g appium is unavailable in china, ref tonode_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
    • ListViewtake too much memory
    • HTML to native View render take too muchmemory and CPU time
  • Add Unit testing

Change log

Please readCHANGELOG

Contribute

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

This project is under the ES6 JSX.

License

MIT License


[8]ページ先頭

©2009-2025 Movatter.jp