No description
Find a file
2017-06-21 15:49:54 -04:00
android Android Version Bump to 36 (#659) 2017-06-21 14:15:06 -04:00
app RN-216 Hid file upload button when files are disabled (#656) 2017-06-21 15:49:54 -04:00
assets translations PR 20170619 (#652) 2017-06-19 18:49:14 -04:00
fastlane Upgrade to latest mattermost-redux and updated fastlane (#655) 2017-06-21 09:34:39 -04:00
ios Version Bump to 36 (#658) 2017-06-21 14:14:56 -04:00
scripts Add ability to post messages (#158) 2017-01-13 10:40:00 -03:00
test Various fixes & improvements (#611) 2017-06-08 15:40:29 -04:00
.babelrc Several Fixes (#495) 2017-04-24 17:39:23 -03:00
.buckconfig Initial commit 2016-10-04 14:10:44 -04:00
.editorconfig Changed .editorconfig to include a trailing newline on files (#21) 2016-10-17 13:56:28 -04:00
.eslintrc.json Update RN to 0.44.0 and project dependencies (#546) 2017-05-16 21:13:44 -04:00
.flowconfig Updated react-native projects 2016-10-07 11:49:31 -04:00
.gitattributes Fastlane for Android and ios (#165) 2017-01-19 09:35:40 -05:00
.gitignore Add component unit testing (#588) 2017-05-31 08:59:20 -04:00
.npmrc Add functionality for fetching + selecting teams & channels (#17) 2016-10-17 15:47:47 -04:00
.watchmanconfig Initial commit 2016-10-04 14:10:44 -04:00
CHANGELOG.md Update CHANGELOG.md (#421) 2017-03-29 23:53:58 -03:00
CONTRIBUTING.md Proposed changes to contributor guidelines (#44) 2016-10-19 13:33:44 -07:00
index.android.js RN-97 Changed navigation from NavigationExperimental to ReactNative Navigation (#540) 2017-05-16 11:19:46 -04:00
index.ios.js RN-97 Changed navigation from NavigationExperimental to ReactNative Navigation (#540) 2017-05-16 11:19:46 -04:00
ISSUE_TEMPLATE.md Update PR template and Issue template (#335) 2017-03-08 13:46:31 -03:00
LICENSE.txt Adding Apache 2.0 license 2016-10-11 09:14:00 -07:00
Makefile RN-137 Team sidebar (#577) 2017-05-29 15:51:11 -04:00
NOTICE.txt RN-192 Fix Cancel button in IOS search bar (#642) 2017-06-19 09:19:37 -04:00
package.json RN-109 Added ability to add styles to adjacent paragraphs (#654) 2017-06-19 18:51:14 -04:00
PULL_REQUEST_TEMPLATE.md PLT-5857 replace the service folder with mattermost-redux library (#348) 2017-03-14 10:52:24 -03:00
README.md Update README.md (#539) 2017-05-17 09:48:40 -04:00
rn-cli.config.js project folder structure (#107) 2016-12-09 10:34:17 -05:00
yarn.lock Upgrade to latest mattermost-redux and updated fastlane (#655) 2017-06-21 09:34:39 -04:00

Mattermost Mobile (unreleased)

Supported Server Versions: 3.8+

This is an unreleased project for replacing the Mattermost iOS and Android apps with new mobile apps using React Native and Redux. The project is currently in beta, with a planned release date of July 2017.

Mattermost is an open source Slack-alternative used by thousands of companies around the world in 11 languages. Learn more at https://mattermost.com.

How to Contribute

Testing

The apps are currently in beta (released on March 29, 2017). We cut new builds regularly, so people can test it out and see what's new.

If you would like to help with testing the apps, you can:

  1. (Optional) Sign up for our team site
  1. Sign up to be a beta tester
  1. Install the Mattermost 2017 (Beta) app
  1. Check the changelog for what's currently supported
  2. File any bugs you find by filing a GitHub issue with:
  • Device information
  • Repro steps
  • Observed behavior (including screenshot / video when possible)
  • Expected behavior

Contribute Code

  1. Look in GitHub issues for issues marked as [Help Wanted]
  2. Comment to let people know youre working on it
  3. Follow these instructions to set up your developer environment
  4. Join the Native Mobile Apps channel on our team site to ask questions

Installing Dependencies

Follow the React Native Getting Started Guide for detailed instructions on setting up your local machine for development.

Detailed configuration:

Mac

  • General requirements

    • XCode 8.3
    • Install required packages using homebrew:
      $ brew install watchman
      $ brew install yarn
      
  • Clone repository and configure:

    $ git clone git@github.com:mattermost/mattermost-mobile.git
    $ cd mattermost-mobile
    $ npm install
    $ npm install -g react-native-cli
    
  • Run application

    $ make run
    
  • Stop the packager server

    $ make stop
    

Linux:

  • General requiriments:

    • JDK 7 or greater
    • Android SDK
    • Virtualbox
    • An Android emulator: Genymotion or Android emulator. If using genymotion ensure that it uses existing adb tools (Settings: "Use custom Android SDK Tools")
    • Install watchman (do this globally):
      $ git clone https://github.com/facebook/watchman.git
      $ cd watchman
      $ git checkout master
      $ ./autogen.sh
      $ ./configure make
      $ sudo make install
      
      Configure your kernel to accept a lot of file watches, using a command like:
      $ sudo sysctl -w fs.inotify.max_user_watches=1048576
      
  • Clone repository and configure:

    $ git clone git@github.com:mattermost/mattermost-mobile.git
    $ cd mattermost-mobile
    $ npm install
    $ npm install -g react-native-cli
    
    • Add or edit file src/config/config.secret.json and add the url to the Mattermost server that you will use to develop: { "DefaultServerUrl": "https://pre-release.mattermost.com" }

      To use a local Mattermost server you will need to configure the "DefaultServerUrl" depending on the emulator you will use:

  • Run application

    • Start emulator
    • Start react packager: $ react-native start
    • Run in emulator: $ react-native run-android

Frequently Asked Questions

How is data handled on mobile devices after a user account is deactivated?

App data is wiped from the device when a user logs out of the app. If the user is logged in when the account is deactivated, then within one minute the system logs the user out, and as a result all app data is wiped from the device.