Rocket.Chat mobile clients
Go to file
Diego Mello 224c421b69 Switch push notification lib (#346)
<!-- 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 #342 

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
2018-07-10 10:40:32 -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__ Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
android Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
app Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
e2e Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
icons/20x20 [FIX] messagebox growing width and icons (#130) 2017-12-08 17:36:03 -02:00
ios Switch push notification lib (#346) 2018-07-10 10:40:32 -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 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 Switch push notification lib (#346) 2018-07-10 10:40:32 -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 [NEW] User Profile (#323) 2018-06-12 22:33:00 -03:00
app.json Initial commit 2017-08-03 15:23:43 -03:00
index.android.js Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
index.js Switch push notification lib (#346) 2018-07-10 10:40:32 -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 Switch push notification lib (#346) 2018-07-10 10:40:32 -03:00
package.json Switch push notification lib (#346) 2018-07-10 10:40:32 -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
    

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/