50eb03589a
<!-- 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 --> <!-- INSTRUCTION: Tell us more about your PR with screen shots if you can --> - [x] Added FlatList.getItemLayout() to improve list render time - [x] Some texts were breaking lines at sidebar - [x] Removed onPress from links at RoomsListView - [x] Added eslint rule to prevent unused styles - [x] Fixed auto focus bug at CreateChannel and NewServer - [x] Fix change server bug - [x] Fixed a bug when resuming in ListServer - [x] I18n fixed - [x] Fixed a bug on actionsheet ref not being created - [x] Reply wasn't showing on Android - [x] Use Notification.Builder.setColor/getColor only after Android SDK 23 - [x] Listen to app state only when inside app - [x] Switched register push token position in order to improve login performance - [x] When deep link changes server, it doesn't refresh rooms list - [x] Added SafeAreaView in all views to improve iPhone X experience - [x] Subpath regex #388 |
||
---|---|---|
.circleci | ||
.expo | ||
.github | ||
__mocks__ | ||
__tests__ | ||
android | ||
app | ||
e2e | ||
icons/20x20 | ||
ios | ||
resources/fonts | ||
scripts | ||
storybook | ||
temp | ||
.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-lock.json | ||
package.json |
README.md
Rocket.Chat React Native Mobile
Supported Server Versions: 0.58.0+ (We are working to support earlier versions)
Download
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
- 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