Rocket.Chat mobile clients
Go to file
Guilherme Gazzo 6c67179c3a
[FIX] invalid user muted value
2018-06-11 12:02:17 -03:00
.circleci New markdown (#306) 2018-05-29 14:09:20 -03: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__ New markdown (#306) 2018-05-29 14:09:20 -03:00
android I18n (#312) 2018-06-01 14:38:13 -03:00
app [FIX] invalid user muted value 2018-06-11 12:02:17 -03:00
e2e [NEW] Drawer (#322) 2018-06-04 22:17:02 -03:00
icons/20x20 [FIX] messagebox growing width and icons (#130) 2017-12-08 17:36:03 -02:00
ios [FIX] iOS Universal links (#318) 2018-06-01 18:57:05 -03:00
resources/fonts [FIX] messagebox growing width and icons (#130) 2017-12-08 17:36:03 -02:00
scripts Crashlytics (#258) 2018-04-03 13:24:58 -03:00
storybook [NEW] Drawer (#322) 2018-06-04 22:17:02 -03: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 Detox tests E2E (#283) 2018-05-23 10:39:18 -03:00
.eslintrc.js Crashlytics (#258) 2018-04-03 13:24:58 -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 Crashlytics (#258) 2018-04-03 13:24:58 -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
LICENSE Create LICENSE 2018-04-21 15:24:08 -03:00
Logo.png Ci (#25) 2017-08-18 11:50:20 -03:00
README.md Detox tests E2E (#283) 2018-05-23 10:39:18 -03:00
app.json Initial commit 2017-08-03 15:23:43 -03:00
index.android.js Reactotron working (#249) 2018-03-23 16:55:40 +00:00
index.ios.js Reactotron working (#249) 2018-03-23 16:55:40 +00: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 I18n (#312) 2018-06-01 14:38:13 -03:00
package.json I18n (#312) 2018-06-01 14:38:13 -03: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.

How to run

  • Clone repository and install dependencies:

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

    $ npm run fabric-ios --key="YOUR_API_KEY" --secret="YOUR_API_SECRET"
    $ npm run fabric-android --key="YOUR_API_KEY" --secret="YOUR_API_SECRET"
    
  • Run application

    $ npm run ios
    
    $ npm run android
    

Detox (end-to-end tests)

  • Build your app
$ detox build
  • Run tests
$ detox test

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/