302df46d69
* Create LICENSE |
||
---|---|---|
.circleci | ||
.expo | ||
.github | ||
__mocks__ | ||
__tests__ | ||
android | ||
app | ||
icons/20x20 | ||
ios | ||
resources/fonts | ||
scripts | ||
static/images | ||
storybook | ||
.babelrc | ||
.bettercodehub.yml | ||
.buckconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.flowconfig | ||
.gitattributes | ||
.gitignore | ||
.snyk | ||
.travis.yml | ||
.watchmanconfig | ||
LICENSE | ||
Logo.png | ||
README.md | ||
app.json | ||
index.android.js | ||
index.ios.js | ||
jsconfig.json | ||
key.keystore.enc | ||
package.json | ||
yarn.lock |
README.md
Rocket.Chat React Native Mobile
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 $ yarn
-
Configuration
$ yarn fabric-ios --key="YOUR_API_KEY" --secret="YOUR_API_SECRET" $ yarn fabric-android --key="YOUR_API_KEY" --secret="YOUR_API_SECRET"
-
Run application
$ yarn ios
$ yarn android
Storybook
-
General requirements
- Install storybook
$ npm i -g @storybook/cli
- Install storybook
-
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/
- Run storybook application