mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-05 18:38:54 +00:00
* 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
22 lines
942 B
TypeScript
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;
|