Enable Crypto SDK for production

This commit is contained in:
Andy Uhnak
2022-10-31 12:23:52 +00:00
parent f0159f42fe
commit c40a36a73d
9 changed files with 15 additions and 34 deletions
+1 -2
View File
@@ -92,15 +92,14 @@ class CommonConfiguration: NSObject, Configurable {
sdkOptions.enableNewClientInformationFeature = RiotSettings.shared.enableClientInformationFeature
#if DEBUG
if sdkOptions.isCryptoSDKAvailable {
let isEnabled = RiotSettings.shared.enableCryptoSDK
MXLog.debug("[CryptoSDKConfiguration] Crypto SDK is \(isEnabled ? "enabled" : "disabled")")
sdkOptions.enableCryptoSDK = isEnabled
sdkOptions.enableStartupProgress = isEnabled
} else {
MXLog.debug("[CryptoSDKConfiguration] Crypto SDK is not available)")
}
#endif
}
private func makeASCIIUserAgent() -> String? {