Rocket.Chat mobile clients
Go to file
gilmarsquinelato d55db0fca5 [NEW] Changed navigation library to react-navigation. (#41)
* Changed navigation library to react-navigation.
Refactoring on sagas to remove navigation navigation flow do it in views.
Added new modal library.
Renamed view files to the same name of their classes.
Added support to redux-devtools using the chrome extension through Remote devtools menu.
Some components was refactored to reduce complexity and more legibility.

* Remove react-native-navigation from Android

* Adding servers to drawer menu, allowing server switch.

* Sidebar component

* opss :x fix add server

* opss :x fix add server

* Fixed add server navigation issues, fixed empty and slow Rooms List and Chat Messages

* Disable cleanup everytime

* some fixes

* some fixes

*  fix?

* .

* Fixed logo not displaying when app is loading or signing to server

* Fixed logo in loading and login

* Update LoginView.js

* Update PublicRoutes.js
2017-09-21 14:08:00 -03:00
.expo Add room search (#16) 2017-08-10 13:16:32 -03:00
__mocks__ Fix travis 2017-08-23 11:38:05 -03:00
__tests__ [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00
android [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00
app [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00
ios [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00
storybook Fixing merge from 'develop'. 2017-09-01 17:20:34 -03:00
.babelrc Init Redux usage 2017-08-12 22:35:09 -03:00
.bettercodehub.yml Add bettercode (#30) 2017-08-18 14:02:12 -03:00
.buckconfig Initial commit 2017-08-03 15:23:43 -03:00
.eslintignore Code Coverage (#26) 2017-08-18 12:50:48 -03:00
.eslintrc Merge branch 'master' into redux-saga 2017-08-28 16:38:26 -03:00
.flowconfig Initial commit 2017-08-03 15:23:43 -03:00
.gitattributes Initial commit 2017-08-03 15:23:43 -03:00
.gitignore Removing and ignoring .vscode folder 2017-09-04 14:15:18 -03:00
.travis.yml Add master branch to travis.yml 2017-08-23 11:44:43 -03:00
.watchmanconfig Initial commit 2017-08-03 15:23:43 -03:00
Logo.png Ci (#25) 2017-08-18 11:50:20 -03:00
README.md Add Better Code badge (#31) 2017-08-18 14:04:36 -03:00
app.json Initial commit 2017-08-03 15:23:43 -03:00
index.android.js [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00
index.ios.js [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00
jsconfig.json Init Redux usage 2017-08-12 22:35:09 -03:00
key.keystore.enc Ci (#25) 2017-08-18 11:50:20 -03:00
package-lock.json Add server change saga (#34) 2017-09-01 16:42:50 -03:00
package.json [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00
yarn.lock [NEW] Changed navigation library to react-navigation. (#41) 2017-09-21 14:08:00 -03:00

README.md

Rocket.Chat React Native Mobile

Build Status Project Dependencies Codacy Badge codecov CodeFactor Known Vulnerabilities BCH compliance

Supported Server Versions: 0.58.0+ (We are working to support earlier versions)

Installing Dependencies

Follow the React Native Getting Started Guide for detailed instructions on setting up your local machine for development.

Detailed configuration:

Mac

  • General requirements

    • XCode 8.3
    • Install required packages using homebrew:
      $ brew install watchman
      $ brew install yarn
      
  • Clone repository and configure:

    $ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git
    $ cd Rocket.Chat.ReactNative
    $ npm install
    $ npm install -g react-native-cli
    
  • Run application

    $ react-native run-ios
    
    $ react-native run-android
    

Linux:

  • General requiriments:

    • JDK 7 or greater
    • Android SDK
    • Virtualbox
    • An Android emulator: Genymotion or Android emulator. If using genymotion ensure that it uses existing adb tools (Settings: "Use custom Android SDK Tools")
    • Install watchman (do this globally):
      $ git clone https://github.com/facebook/watchman.git
      $ cd watchman
      $ git checkout master
      $ ./autogen.sh
      $ ./configure make
      $ sudo make install
      
      Configure your kernel to accept a lot of file watches, using a command like:
      $ sudo sysctl -w fs.inotify.max_user_watches=1048576
      
  • Clone repository and configure:

    $ git clone git@github.com:RocketChat/Rocket.Chat.ReactNative.git
    $ cd Rocket.Chat.ReactNative
    $ npm install
    $ npm install -g react-native-cli
    
  • Run application

    • Start emulator
    • Start react packager: $ react-native start
    • Run in emulator: $ react-native run-android

Storybook

  • General requirements

    • Install storybook
      $ npm i -g @storybook/cli
      
  • Running storybook

    • Run storybook application
      $ npm run storybook
      
    • Run application in other shell
      $ react-native run-ios
      
    • Running storybook on browser to help stories navigation
      open http://localhost:7007/