diff --git a/Linphone/Core/CoreContext.swift b/Linphone/Core/CoreContext.swift index cee0d0ef3..3c2711d0c 100644 --- a/Linphone/Core/CoreContext.swift +++ b/Linphone/Core/CoreContext.swift @@ -151,7 +151,7 @@ class CoreContext: ObservableObject { let appName = Bundle.main.infoDictionary?["CFBundleName"] as? String let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String - let userAgent = "LinphoneiOS/\(version ?? "6.0.0") Beta (\(UIDevice.current.localizedModel.replacingOccurrences(of: "'", with: ""))) LinphoneSDK" + let userAgent = "LinphoneiOS/\(version ?? "6.0.0") (\(UIDevice.current.localizedModel.replacingOccurrences(of: "'", with: ""))) LinphoneSDK" self.mCore.setUserAgent(name: userAgent, version: self.coreVersion) self.mCore.videoCaptureEnabled = true self.mCore.videoDisplayEnabled = true diff --git a/Linphone/UI/Main/Help/ViewModel/HelpViewModel.swift b/Linphone/UI/Main/Help/ViewModel/HelpViewModel.swift index 00886b1a6..174643001 100644 --- a/Linphone/UI/Main/Help/ViewModel/HelpViewModel.swift +++ b/Linphone/UI/Main/Help/ViewModel/HelpViewModel.swift @@ -42,7 +42,7 @@ class HelpViewModel: ObservableObject { let versionTmp = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String let build = Bundle.main.infoDictionary?["CFBundleVersion"] as? String - self.version = (versionTmp ?? "6.0.0") + "-beta-" + (build ?? "0") + self.version = (versionTmp ?? "6.0.0") + (build ?? "0") self.sdkVersion = Core.getVersion