mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix device name in section user-agent
This commit is contained in:
parent
30baa29cfc
commit
86f6e73283
1 changed files with 1 additions and 1 deletions
|
|
@ -1840,7 +1840,7 @@ void networkReachabilityCallBack(SCNetworkReachabilityRef target, SCNetworkReach
|
|||
stringWithFormat:@"%@iOS/%@ (%@) LinphoneSDK",
|
||||
[NSBundle.mainBundle objectForInfoDictionaryKey:@"CFBundleDisplayName"],
|
||||
[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"],
|
||||
[LinphoneUtils deviceModelIdentifier]]];
|
||||
[[UIDevice currentDevice] name]]];
|
||||
|
||||
linphone_core_set_user_agent(theLinphoneCore, device.UTF8String, "4.1-221-g241bbf9 (master)"); // TODO : update Linphone_sdk_version automatically
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue