mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Remove "Beta" from User-Agent and Version info
This commit is contained in:
parent
e3106a3f50
commit
140f6d5e2b
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue