Files
bundesmessenger-ios/bwi/BwiBuildSettings.swift
T
2022-09-19 12:23:07 +02:00

96 lines
3.2 KiB
Swift

//
/*
* Copyright (c) 2021 BWI GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import Foundation
@objcMembers
final class BwiBuildSettings: NSObject {
// Integration check
static let forcedPinProtection = true
// Jailbreak check
static let forcedNoneJailbroken = true
/// Default number of iterations for secure storage. Do not change this value after going live.
static let iterationsForSecureStorage: UInt = 100000
/// Allow split view detail view stacking
static let allowSplitViewDetailsScreenStacking: Bool = true
// direct rooms are for two persons only in bwi context
static let allowInviteOnDirectRooms: Bool = false
// test setup for downtime: should be false for all builds
static let useTestDataForDowntime: Bool = false
static let flavor = ""
static let showBwiSplashScreen: Bool = false
static let bwiShowRoomSearch: Bool = false
static let bwiAllowRoomPermalink: Bool = false
static let bwiAllowUserPermalink: Bool = false
static let bwiCheckAppVersion = true
static let bwiSettingsShowSecureBackupSection = false
static let bwiSettingsShowCrossSigningSection = false
static let bwiNotificationTimes = true
static let bwiUserLabelsAdminSettingsVisible = true
static let bwiUserLabelsMemberDetailsVisible = true
static let bwiUserLabelsParticipantsVisible = true
static let bwiUserLabelsTimelineDisplayNameVisible = true
static let bwiUserLabelsTimelineEventVisible = true
static let bwiUserLabelEventTypeString = "de.bwi.room.user_function_labels"
static let bwiUserLabelParticipantSorting = true
static let bwiShowClosedPolls = false
static let bwiShowThreads = false
static let bwiShowRoomCreationSectionFooter = false
static let bwiAutoCreateAliasOnRoomCreation = true
static let bwiLocationShareButtonVisible = false
static let bwiUseCustomPersonalNotesAvatar = true
static let bwiBetterIgnoredUsers = true
static let bwiSettingsShowInAppNotifications = false
static let bwiFilteredContextMenu = true
static let bwiShowPinnedNotificationSettings = false
static let bwiShowSessionSettingsFooter = false
static let bwiEnablePersonalState = false
// In onboarding splash screen dis/enable register button
static let bwiOnboardingSplashScreenEnableRegister = false
// in Auth screen dis/enable register button even with onboarding splash screen enabled
static let bwiAuthentificationScreenEnableRegister = false
// enable BuM style authentication UI (more Info text and a logo)
static let bwiEnableBuMAuthentificationUI = true
}