Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mattermost Mobile v2

- **Minimum Server versions:** Current ESR version (10.11.0+)
- **Minimum Server versions:** Current ESR version (11.7.0+)
- **Supported iOS versions:** 16.0+
- **Supported Android versions:** 7.0+

Expand Down
8 changes: 4 additions & 4 deletions app/constants/supported_server.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

export const MIN_REQUIRED_VERSION = '9.11.0';
export const FULL_VERSION = '10.11.0';
export const MAJOR_VERSION = 10;
export const MIN_VERSION = 11;
export const MIN_REQUIRED_VERSION = '10.11.0';
export const FULL_VERSION = '11.7.0';
export const MAJOR_VERSION = 11;
export const MIN_VERSION = 7;
Comment thread
amyblais marked this conversation as resolved.
export const PATCH_VERSION = 0;

export default {
Expand Down
4 changes: 3 additions & 1 deletion app/managers/global_event_handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {Alert, DeviceEventEmitter} from 'react-native';
import {switchToChannelById} from '@actions/remote/channel';
import {batchTeamThreadSync} from '@actions/remote/thread';
import {Events, Device} from '@constants';
import {FULL_VERSION} from '@constants/supported_server';
import DatabaseManager from '@database/manager';
import {getServerCredentials} from '@init/credentials';
import {getActiveServerUrl} from '@queries/app/servers';
Expand Down Expand Up @@ -40,7 +41,8 @@ describe('GlobalEventHandler', () => {

describe('onServerVersionChanged', () => {
it('should not show alert when version meets minimum requirement', async () => {
await GlobalEventHandler.onServerVersionChanged({serverUrl: 'http://server.com', serverVersion: '10.0.0'});
// Use the current supported full version so this test survives future minimum-version bumps
await GlobalEventHandler.onServerVersionChanged({serverUrl: 'http://server.com', serverVersion: FULL_VERSION});
expect(Alert.alert).not.toHaveBeenCalled();
});

Expand Down
2 changes: 1 addition & 1 deletion fastlane/metadata/android/en-US/full_description.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Requires Mattermost Server v10.11.0+. Older servers may not be able to connect or have unexpected behavior.
Requires Mattermost Server v11.7.0+. Older servers may not be able to connect or have unexpected behavior.

-------

Expand Down
2 changes: 1 addition & 1 deletion fastlane/metadata/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This version is compatible with Mattermost servers v10.11.0+.
This version is compatible with Mattermost servers v11.7.0+.

Please see [changelog](https://docs.mattermost.com/administration/mobile-changelog.html) for full release notes. If you're interested in helping beta test upcoming versions before they are released, please see our [documentation](https://github.com/mattermost/mattermost-mobile#testing).

Expand Down
Loading