* initial check in * add search value to memoized dependencies in modifier component * ignore the back press * UI adjustments from PR feedback * initial commit * recent search are getting rendered from WDB * search terms from the search bar are getting added * can delete recent searches from WDB from recent searches Options * will now add new ters to the table and recreate existing terms with new timestamp * push for scrollview * use flatlist instead of scrolview * s/deleteRecentTeamSearchById/removeSearchFromTeamSearchHistory/ * s/addRecentTeamSearch/addSearchToTeamSearchHistory/ * Fix search to use a flatlist and remove douplicate reference * fix eslint * Fix android autoscroll search field to the top * limit the number of saved searches to 20 for a team. return the results a team Search History sorted by createdAt * set display to term for now * clean up * clean up * extract as constant * move styles to the top * always update the created_at value in the database. * remove unused function * - remove useMemo of recent - set or remove props on AnimatedFlatlist * styling adjustments * styling changes * divider takes up 1ox so only need 15px margin to get the 16px total to the neighboring veritcal views * update compassIcon to match figma design * update divider opacity to match figma design * update styling from UX PR requests * increase close button to touchable area of 40x40 and adjust menuitem container * use logError instead of console.log and trowing an error * remove surrounding parenthesis * There is only one record, so no need to batch. Just call destroyPermanently. * call destroyPermanently directly * when not useing the onScroll callback you don't need to set the scrollEventThrottle * set the max searches saved to 15 * no need to memoize * shoud be a function call * batch the add/update with the delete of the oldest model * Minor improvements * Fix bug when hitting back on search screen * Fix long channel names in search results Co-authored-by: Elias Nahum <nahumhbl@gmail.com> Co-authored-by: Daniel Espino García <larkox@gmail.com>
Mattermost Mobile v2
This is a work in progress branch for the next major version of the Mattermost mobile app. Once the work is completed and ready to share, this brach will be set as the default branch in this repository.
- Minimum Server versions: Current ESR version (5.25)
- Supported iOS versions: 11+
- Supported Android versions: 7.0+
Mattermost is an open source Slack-alternative used by thousands of companies around the world in 14 languages. Learn more at https://about.mattermost.com.
You can download our apps from the App Store or Google Play Store, or build them yourself.
We plan on releasing monthly updates with new features - check the changelog for what features are currently supported!
Important: If you self-compile the Mattermost Mobile apps you also need to deploy your own Mattermost Push Notification Service.
How to Contribute
Testing
To help with testing app updates before they're released, you can:
- Sign up to be a beta tester
- Install the
Mattermost Betaapp. New updates in the Beta app are released periodically. You will receive a notification when the new updates are available. - File any bugs you find by filing a GitHub issue with:
- Device information
- Repro steps
- Observed behavior (including screenshot / video when possible)
- Expected behavior
- (Optional) Sign up for our team site
- Join the Native Mobile Apps channel to see what's new and discuss feedback with other contributors and the core team
You can leave the Beta testing program at any time:
- On Android, click this link while logged in with your Google Play email address used to opt-in for the Beta program, then click Leave the program.
- On iOS, access the
Mattermost Betaapp page in TestFlight and click Stop Testing.
Contribute Code
- Look in GitHub issues for issues marked as [Help Wanted]
- Comment to let people know you’re working on it
- Follow these instructions to set up your developer environment
- Join the Native Mobile Apps channel on our team site to ask questions
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.
Can I connect to multiple Mattermost servers using the mobile apps?
At the moment, we only support connecting to one server at a time. If you need to connect to multiple servers, please upvote the feature request so we can track demand for it.
As a work around, you can install both the released "Mattermost" app and sign up to be a tester for the "Mattermost Beta" app so you can connect to two servers at once.
Will there be second generation apps available for tablets?
We plan to add support for tablets in the future, but the timeline depends on how many people have a need for it. If you're looking for a tablet version, please help us out by upvoting the feature request!
Troubleshooting
I keep getting a message "Cannot connect to the server. Please check your server URL and internet connection."
This sometimes appears when there is an issue with the SSL certitificate configuration.
To check that your SSL certificate is set up correctly, test the SSL certificate by visiting a site such as https://www.ssllabs.com/ssltest/index.html. If there’s an error about the missing chain or certificate path, there is likely an intermediate certificate missing that needs to be included.
Please note that the apps cannot connect to servers with self-signed certificates, consider using Let's Encrypt instead.
I see a “Connecting…” bar that does not go away
If your app is working properly, you should see a grey “Connecting…” bar that clears or says “Connected” after the app reconnects.
If you are seeing this message all the time, and your internet connection seems fine:
Ask your server administrator if the server uses NGINX or another webserver as a reverse proxy. If so, they should check that it is configured correctly for supporting the websocket connection for APIv4 endpoints.