Rocket.Chat mobile clients
Go to file
Diego Mello c3994051d5 [NEW] Empty room background (#412)
<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes #398 

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
![aug-09-2018 11-35-32](https://user-images.githubusercontent.com/804994/43906080-cbfadf92-9bc8-11e8-9ac9-44f43d3af023.gif)
![aug-09-2018 11-35-16](https://user-images.githubusercontent.com/804994/43906082-cc19411c-9bc8-11e8-9892-c65c86951a91.gif)
![image](https://user-images.githubusercontent.com/804994/43911366-ad830cd0-9bd5-11e8-8913-6a7e87a2206c.png)
2018-08-10 10:17:45 -03:00
.circleci Update gradle and targetSdkVersion (#328) 2018-06-20 10:40:33 -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] Room Loading(#372) 2018-07-18 17:34:59 -03:00
android Improve RoomsList render time (#384) 2018-08-01 16:35:06 -03:00
app [NEW] Empty room background (#412) 2018-08-10 10:17:45 -03:00
e2e [NEW] Room Loading(#372) 2018-07-18 17:34:59 -03:00
icons/20x20 [FIX] messagebox growing width and icons (#130) 2017-12-08 17:36:03 -02:00
ios Improve RoomsList render time (#384) 2018-08-01 16:35:06 -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 Ddp fixes (#324) 2018-06-12 22:29:18 -03:00
temp Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
.babelrc [NEW] Room Loading(#372) 2018-07-18 17:34:59 -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 Detox tests E2E (#283) 2018-05-23 10:39:18 -03:00
.eslintrc.js Improve RoomsList render time (#384) 2018-08-01 16:35:06 -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 Switch push notification lib (#346) 2018-07-10 10:40:32 -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
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 Added single-server to readme (#390) 2018-07-30 10:56:42 -03:00
app.json Initial commit 2017-08-03 15:23:43 -03:00
index.android.js [NEW] Room Loading(#372) 2018-07-18 17:34:59 -03:00
index.ios.js Improve RoomsList render time (#384) 2018-08-01 16:35:06 -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 [FIX] Android 8 notifications (#382) 2018-07-26 11:19:00 -03:00
package.json [NEW] Empty room background (#412) 2018-08-10 10:17:45 -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)

Download

Rocket.Chat.ReactNative on Google Play

Note: If you want to try iOS version, send us an email to testflight@rocket.chat and we'll add you to TestFlight users.

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
    

Running single server

If you don't need multiple servers, there is a branch single-server just for that.

Readme will guide you on how to config.

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/