mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
Feature/4753 bum test app
This commit is contained in:
committed by
Frank Rotermund
parent
abd7f01602
commit
e56f1d2a4e
39
Config/BuM-Open/AppIdentifiers-bum-open.xcconfig
Normal file
39
Config/BuM-Open/AppIdentifiers-bum-open.xcconfig
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
//
|
||||||
|
// Copyright 2021 Vector Creations Ltd
|
||||||
|
//
|
||||||
|
// 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.
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// App identity
|
||||||
|
BUNDLE_DISPLAY_NAME = BuM-Open
|
||||||
|
BASE_BUNDLE_IDENTIFIER = de.bwi.messenger-open
|
||||||
|
APPLICATION_GROUP_IDENTIFIER = group.de.messenger-open
|
||||||
|
APPLICATION_SCHEME = element
|
||||||
|
|
||||||
|
// Team
|
||||||
|
DEVELOPMENT_TEAM = Q111Q11QQ1
|
||||||
|
|
||||||
|
|
||||||
|
// Provisioning profiles
|
||||||
|
RIOT_PROVISIONING_PROFILE_SPECIFIER = Vector App Store
|
||||||
|
RIOT_PROVISIONING_PROFILE = 7579fa6f-9887-415e-90fc-2c7acd8812e6
|
||||||
|
|
||||||
|
NSE_PROVISIONING_PROFILE_SPECIFIER = "Vector NSE: App Store"
|
||||||
|
NSE_PROVISIONING_PROFILE = e73107b2-1bfe-4615-be3e-39fd4dcb2af0
|
||||||
|
|
||||||
|
SHARE_EXTENSION_PROVISIONING_PROFILE_SPECIFIER = "Vector Share Extension: App Store"
|
||||||
|
SHARE_EXTENSION_PROVISIONING_PROFILE = 8c797ca0-0440-49bd-be8d-11d761152995
|
||||||
|
|
||||||
|
SIRI_INTENTS_PROVISIONING_PROFILE_SPECIFIER = "Vector Siri Intents: App Store"
|
||||||
|
SIRI_INTENTS_PROVISIONING_PROFILE = 1690e81a-5ad3-4d99-b578-02693579be71
|
||||||
34
Config/BuM-Open/BWIBuildSettings+BuM-Open.swift
Normal file
34
Config/BuM-Open/BWIBuildSettings+BuM-Open.swift
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
//
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 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
|
||||||
|
|
||||||
|
extension BWIBuildSettings {
|
||||||
|
|
||||||
|
func overrideTargetSpecificSettings() {
|
||||||
|
secondaryAppName = "BundesMessenger"
|
||||||
|
locationSharingEnabled = false
|
||||||
|
bwiLocationShareButtonVisible = false
|
||||||
|
bwiLoginFlowLayout = false
|
||||||
|
authScreenShowTestServerOptions = false
|
||||||
|
|
||||||
|
enableNewSessionManagerByDefault = true
|
||||||
|
|
||||||
|
bwiEnableLoginProtection = false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
20
Config/copyOpenConfig.sh
Executable file
20
Config/copyOpenConfig.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# setConfig.sh
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
cp -vf ../Config/BuM-Open/AppIdentifiers-bum-open.xcconfig ../Config/AppIdentifiers.xcconfig
|
||||||
20
Podfile
20
Podfile
@@ -155,6 +155,26 @@ abstract_target 'RiotPods' do
|
|||||||
|
|
||||||
pod 'FLEX', '~> 4.5.0', :configurations => ['Debug']
|
pod 'FLEX', '~> 4.5.0', :configurations => ['Debug']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
target "BuM-Open" do
|
||||||
|
import_MatrixSDK
|
||||||
|
import_MatrixKit_pods
|
||||||
|
|
||||||
|
import_SwiftUI_pods
|
||||||
|
|
||||||
|
pod 'UICollectionViewLeftAlignedLayout', '~> 1.0.2'
|
||||||
|
pod 'UICollectionViewRightAlignedLayout', '~> 0.0.3'
|
||||||
|
pod 'KTCenterFlowLayout', '~> 1.3.1'
|
||||||
|
pod 'FlowCommoniOS', '~> 1.12.0'
|
||||||
|
pod 'DTTJailbreakDetection', '~> 0.4.0'
|
||||||
|
pod 'ReadMoreTextView', '~> 3.0.1'
|
||||||
|
pod 'SwiftBase32', '~> 0.9.0'
|
||||||
|
pod 'SwiftJWT', '~> 3.6.200'
|
||||||
|
pod 'SideMenu', '~> 6.5'
|
||||||
|
pod 'DSWaveformImage', '~> 6.1.1'
|
||||||
|
|
||||||
|
pod 'FLEX', '~> 4.5.0', :configurations => ['Debug']
|
||||||
|
end
|
||||||
|
|
||||||
target "RiotSwiftUI" do
|
target "RiotSwiftUI" do
|
||||||
import_SwiftUI_pods
|
import_SwiftUI_pods
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ targets:
|
|||||||
excludes:
|
excludes:
|
||||||
- "AppIdentifiers.xcconfig"
|
- "AppIdentifiers.xcconfig"
|
||||||
- "BuM"
|
- "BuM"
|
||||||
|
- "BuM-Open"
|
||||||
- "*.sh"
|
- "*.sh"
|
||||||
- path: .
|
- path: .
|
||||||
excludes:
|
excludes:
|
||||||
|
|||||||
107
Riot/target-bum-open.yml
Normal file
107
Riot/target-bum-open.yml
Normal file
@@ -0,0 +1,107 @@
|
|||||||
|
name: BuM-Open
|
||||||
|
|
||||||
|
schemes:
|
||||||
|
BuM-Open:
|
||||||
|
analyze:
|
||||||
|
config: Debug
|
||||||
|
archive:
|
||||||
|
config: Release
|
||||||
|
build:
|
||||||
|
targets:
|
||||||
|
BuM-Open:
|
||||||
|
- running
|
||||||
|
- testing
|
||||||
|
- profiling
|
||||||
|
- analyzing
|
||||||
|
- archiving
|
||||||
|
profile:
|
||||||
|
config: Release
|
||||||
|
run:
|
||||||
|
config: Debug
|
||||||
|
disableMainThreadChecker: true
|
||||||
|
test:
|
||||||
|
config: Debug
|
||||||
|
disableMainThreadChecker: true
|
||||||
|
gatherCoverageData: true
|
||||||
|
language: "de"
|
||||||
|
region: "DE"
|
||||||
|
environmentVariables:
|
||||||
|
username:
|
||||||
|
defaultpin:
|
||||||
|
defaultpassphrase:
|
||||||
|
defaultpassword:
|
||||||
|
targets:
|
||||||
|
- RiotTests
|
||||||
|
|
||||||
|
targets:
|
||||||
|
BuM-Open:
|
||||||
|
type: application
|
||||||
|
platform: iOS
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- target: RiotNSE
|
||||||
|
- target: DesignKit
|
||||||
|
- target: CommonKit
|
||||||
|
- package: AnalyticsEvents
|
||||||
|
- package: Mapbox
|
||||||
|
- package: OrderedCollections
|
||||||
|
- package: SwiftOGG
|
||||||
|
- package: Lottie
|
||||||
|
- package: WysiwygComposer
|
||||||
|
- package: DeviceKit
|
||||||
|
|
||||||
|
configFiles:
|
||||||
|
Debug: Debug.xcconfig
|
||||||
|
Release: Release.xcconfig
|
||||||
|
|
||||||
|
preBuildScripts:
|
||||||
|
- name: ⚠️ SwiftLint
|
||||||
|
runOnlyWhenInstalling: false
|
||||||
|
shell: /bin/sh
|
||||||
|
script: "${PODS_ROOT}/SwiftLint/swiftlint\n"
|
||||||
|
- name: 🛠 SwiftGen
|
||||||
|
runOnlyWhenInstalling: false
|
||||||
|
shell: /bin/sh
|
||||||
|
script: "${PODS_ROOT}/SwiftGen/bin/swiftgen config run --config Tools/SwiftGen/swiftgen-config.yml\n"
|
||||||
|
|
||||||
|
sources:
|
||||||
|
- path: ../RiotSwiftUI/Modules
|
||||||
|
# Riot will provide it's own LocaleProviderType so exclude.
|
||||||
|
# Riot will provide it's own LocaleProviderType so exclude.
|
||||||
|
excludes:
|
||||||
|
- "Common/Locale/LocaleProvider.swift"
|
||||||
|
- "**/Test/**"
|
||||||
|
- path: ../Tools
|
||||||
|
excludes:
|
||||||
|
- "Logs"
|
||||||
|
- "Release"
|
||||||
|
- "Templates/*.sh"
|
||||||
|
- path: ../Config
|
||||||
|
excludes:
|
||||||
|
- "BuM-Beta"
|
||||||
|
- "BuM"
|
||||||
|
- "AppIdentifiers.xcconfig"
|
||||||
|
- "*.sh"
|
||||||
|
- path: .
|
||||||
|
excludes:
|
||||||
|
- "Modules/Room/EmojiPicker/Data/EmojiMart/EmojiJSONStore.swift"
|
||||||
|
- "Modules/Analytics/Test/Unit/BWIAnalyticsTests.swift"
|
||||||
|
- "**/*.strings" # Exclude all strings files
|
||||||
|
- path: ../bwi
|
||||||
|
excludes:
|
||||||
|
- "Tests"
|
||||||
|
- "ServerURLs/serverurls.json"
|
||||||
|
- path: ../RiotShareExtension/Shared
|
||||||
|
- path: Modules/MatrixKit
|
||||||
|
excludes:
|
||||||
|
- "**/*.md" # excludes all files with the .md extension
|
||||||
|
# Add separately localizable files
|
||||||
|
# Once a language has enough translations (>80%), it must be declared here
|
||||||
|
- path: Assets/en.lproj/InfoPlist.strings
|
||||||
|
- path: Assets/en.lproj/Localizable.strings
|
||||||
|
- path: Assets/en.lproj/Vector.strings
|
||||||
|
- path: Assets/en.lproj/Bwi.strings
|
||||||
|
- path: Assets/de.lproj/InfoPlist.strings
|
||||||
|
- path: Assets/de.lproj/Localizable.strings
|
||||||
|
- path: Assets/de.lproj/Vector.strings
|
||||||
|
- path: Assets/de.lproj/Bwi.strings
|
||||||
@@ -79,6 +79,7 @@ targets:
|
|||||||
- path: ../Config
|
- path: ../Config
|
||||||
excludes:
|
excludes:
|
||||||
- "BuM-Beta"
|
- "BuM-Beta"
|
||||||
|
- "BuM-Open"
|
||||||
- "*.sh"
|
- "*.sh"
|
||||||
- path: .
|
- path: .
|
||||||
excludes:
|
excludes:
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ targets:
|
|||||||
- "beta"
|
- "beta"
|
||||||
- "bwi"
|
- "bwi"
|
||||||
- "BuM-Beta"
|
- "BuM-Beta"
|
||||||
|
- "BuM-Open"
|
||||||
- "*.sh"
|
- "*.sh"
|
||||||
- path: .
|
- path: .
|
||||||
excludes:
|
excludes:
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ include:
|
|||||||
- path: Riot/target.yml
|
- path: Riot/target.yml
|
||||||
- path: Riot/target-messenger.yml
|
- path: Riot/target-messenger.yml
|
||||||
- path: Riot/target-bum-beta.yml
|
- path: Riot/target-bum-beta.yml
|
||||||
|
- path: Riot/target-bum-open.yml
|
||||||
- path: RiotTests/target.yml
|
- path: RiotTests/target.yml
|
||||||
- path: RiotShareExtension/target.yml
|
- path: RiotShareExtension/target.yml
|
||||||
- path: SiriIntents/target.yml
|
- path: SiriIntents/target.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user