Rocket.Chat mobile clients
Go to file
Diego Mello 8af34a705a Update gradle and targetSdkVersion (#328)
* Changed the way we read RocketChat settings since setting.type won't be returned from server anymore

* Permissions

* Unnecessary action sheet render

* Update gradle

* Switched testServer to use blob

* RoomsListHeader search fixed

* Runs loadMessagesForRoom only if room has at least 20 rows

* - Logout if user's token expired
- Removed update avatar logic
- Profile dialog border on android

* - Animations disabled
- CircleCI set

* Tests updated

* "eventType argument is required" fix
2018-06-20 10:40:33 -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__ Update gradle and targetSdkVersion (#328) 2018-06-20 10:40:33 -03:00
android Update gradle and targetSdkVersion (#328) 2018-06-20 10:40:33 -03:00
app Update gradle and targetSdkVersion (#328) 2018-06-20 10:40:33 -03:00
e2e Settings/Permissions improvements (#325) 2018-06-18 10:30:36 -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 Ddp fixes (#324) 2018-06-12 22:29:18 -03:00
temp Update gradle and targetSdkVersion (#328) 2018-06-20 10:40:33 -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 [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 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 Update gradle and targetSdkVersion (#328) 2018-06-20 10:40:33 -03:00
package.json Update gradle and targetSdkVersion (#328) 2018-06-20 10:40:33 -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/