/uestc-bbs-react-native

An iOS client for http://bbs.uestc.edu.cn/ written in React Native with Redux.

Primary LanguageJavaScript

app_icon

React Native GitHub issues MIT

An iOS client for http://bbs.uestc.edu.cn/ written in React Native with Redux. APIs are provided by UESTC-BBS.

Screenshot

Try it out

Run in simulator

git clone git@github.com:just4fun/uestc-bbs-react-native.git
cd uestc-bbs-react-native
npm install

Then use Xcode to open this project and simply click Run.

Run on your iOS device

  • Execute same commands as Run in simulator except last step with Xcode, then follow this official guide
    • Tip: JavaScript thread performance suffers greatly when running in dev mode (refer here), so it's best to change Build Configuration from Debug to Release when using offline bundle (refer here).

Run ESlint

npm run eslint

Status

Now it's still being built, and it maybe buggy honestly.

Existing functionalities

  • Login/Logout
  • Read latest topics
  • Read forums
  • Read sub forums
  • Read topics in each forum
  • Read topic detail and comments
  • Reply a topic
  • Reply a comment
  • Publish a topic
  • Search in whole site
  • Read private messages
  • Reply private messages
  • Personal settings

Todo list

  • Update UI per new design (30cec4)
  • Submit to App Store
  • Fixture data (aka mock data)
  • Unit Testing (refer this article)

Known issues

  • User avatar is not displayed sometimes: RN/issue (Fixed by this PR for React Native, and the patch is released in 0.26.0)
  • Switching between pages is not very smooth sometimes

License

The MIT License