Rocket.Chat mobile clients
Go to file
Guilherme Gazzo 7a1d359a4f
Test improve render (#159)
[NEW] ListView
2018-01-09 15:12:55 -02:00
.circleci Send change log to testflight (#124) 2017-12-03 18:57:49 -02:00
.expo Add room search (#16) 2017-08-10 13:16:32 -03:00
.github Added Templates for Issue and Pull Requests (#161) 2017-12-26 12:46:34 -02:00
__mocks__ Fix travis 2017-08-23 11:38:05 -03:00
__tests__ [WIP] Abstract database calls (#157) 2017-12-27 13:22:06 -02:00
android Open link in customTabs on Android. (#168) 2017-12-28 15:40:10 -02:00
app Test improve render (#159) 2018-01-09 15:12:55 -02:00
icons/20x20 [FIX] messagebox growing width and icons (#130) 2017-12-08 17:36:03 -02:00
ios Splash screen (#153) 2017-12-20 18:12:49 -02:00
resources/fonts [FIX] messagebox growing width and icons (#130) 2017-12-08 17:36:03 -02:00
static/images Moved images from app to static/images (#164) 2017-12-27 13:27:32 -02:00
storybook [FIX] messagebox growing width and icons (#130) 2017-12-08 17:36:03 -02:00
.babelrc fix babelrc indentation 2017-11-20 15:29:56 -02: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.js fix develop 2017-12-28 16:04:19 -02: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
.snyk fix: package.json & .snyk to reduce vulnerabilities (#47) 2017-11-22 12:04:44 -02: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 Greenkeeper/initial (#71) 2017-11-13 18:55:58 -02:00
app.json Initial commit 2017-08-03 15:23:43 -03:00
index.android.js Push notification on android (#84) 2017-11-18 18:17:24 -02:00
index.ios.js Push notification on android (#84) 2017-11-18 18:17:24 -02: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 Open link in customTabs on Android. (#168) 2017-12-28 15:40:10 -02:00
package.json Test improve render (#159) 2018-01-09 15:12:55 -02:00
yarn.lock Register user (#44) 2017-11-07 14:28:02 -02:00

README.md

Rocket.Chat React Native Mobile

Greenkeeper badge

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/