mattermost-mobile-upstream/app/constants/versions.ts
Andre Vasconcelos 10207015a5
Classification Markings: Cached request timer and PSv2 Implementation (#9926)
* Added mechanism to prevent repeated classification calls via inmemory cache

* Adding version-aware forking of requests to new PSv2 API

* Addressing PR feedback

* Pushing fixes for cache issues with builds

* Resolving issues with banner vanishing when opening a channel
2026-08-13 15:24:07 +03:00

22 lines
942 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export const GM_AS_DM_VERSION = [9, 1, 0];
export const PROPERTY_FIELDS_SEARCH_VERSION = [11, 10, 0];
// Server version where a promoted feature flag is removed from the client config (MM-69218). Mobile
// treats the feature as always-on at or after this version, and honors the flag on older servers that
// still send it (see @queries/servers/features). One constant per flag so the pattern is easy to copy;
// each must track its own server-side removal release, and the compat shim can be deleted once
// MIN_REQUIRED_VERSION reaches it (guarded by a test in features.test.ts).
export const CHANNEL_BOOKMARKS_FLAG_REMOVED_VERSION = [11, 10, 0];
export const CUSTOM_PROFILE_ATTRIBUTES_FLAG_REMOVED_VERSION = [11, 10, 0];
export const OS_VERSION = {
ANDROID: 'android',
IOS: 'ios',
};
export const ANDROID_33 = 33;