Compare commits

...
Sign in to create a new pull request.

4 commits

6 changed files with 38 additions and 20 deletions

View file

@ -9,8 +9,21 @@ Group changes to describe their impact on the project, as follows:
Removed for deprecated features removed in this release. Removed for deprecated features removed in this release.
Fixed for any bug fixes. Fixed for any bug fixes.
Security to invite users to upgrade in case of vulnerabilities. Security to invite users to upgrade in case of vulnerabilities.
## [5.2.0] - 2023-28-12 ## [5.2.2] - 2023-28-12
### Added
- Log sending option will now give a link to download the logs, rather than send the whole log file
- Taping a notification when app is started now properly opens the conversation
- Open call history when taping a missed call notification
### Changed
- Update linphone SDK to 5.3.20
### Fixed
- Fix replying to images not displaying the image preview in the reply window
- Various UI fixes in chatrooms
## [5.2.1] - 2023-28-12
### Added ### Added
- Added extra Czech and Japanese translations - Added extra Czech and Japanese translations

View file

@ -113,7 +113,7 @@ class ChatConversationTableViewSwift: UIViewController, UICollectionViewDataSour
override func viewWillDisappear(_ animated: Bool) { override func viewWillDisappear(_ animated: Bool) {
if ChatConversationTableViewModel.sharedModel.getNBMessages() > 0 { if ChatConversationTableViewModel.sharedModel.getNBMessages() > 0 {
scrollToBottom(animated: false) scrollToBottom(animated: false, async:false)
} }
NotificationCenter.default.removeObserver(self, name: Notification.Name("LinphoneFriendPresenceUpdate"), object: nil) NotificationCenter.default.removeObserver(self, name: Notification.Name("LinphoneFriendPresenceUpdate"), object: nil)
NotificationCenter.default.removeObserver(self) NotificationCenter.default.removeObserver(self)
@ -130,8 +130,12 @@ class ChatConversationTableViewSwift: UIViewController, UICollectionViewDataSour
self.collectionView.scrollToItem(at: IndexPath(row: messageIndex, section: 0), at: .bottom, animated: false) self.collectionView.scrollToItem(at: IndexPath(row: messageIndex, section: 0), at: .bottom, animated: false)
} }
func scrollToBottom(animated: Bool){ func scrollToBottom(animated: Bool, async: Bool = true){
DispatchQueue.main.async{ if (async) {
DispatchQueue.main.async{
self.collectionView.scrollToItem(at: IndexPath(item: 0, section: 0), at: .top, animated: animated)
}
} else {
self.collectionView.scrollToItem(at: IndexPath(item: 0, section: 0), at: .top, animated: animated) self.collectionView.scrollToItem(at: IndexPath(item: 0, section: 0), at: .top, animated: animated)
} }
ChatConversationViewSwift.markAsRead(ChatConversationViewModel.sharedModel.chatRoom?.getCobject) ChatConversationViewSwift.markAsRead(ChatConversationViewModel.sharedModel.chatRoom?.getCobject)

View file

@ -186,6 +186,7 @@ import linphonesw
cell.selectionStyle = .none cell.selectionStyle = .none
cell.scheduleConfParticipantAddress = tableView.tag == 1 ? data.conferenceInfo.participants.filter {$0.weakEqual(address2: data.conferenceInfo.organizer!)}.first : data.conferenceInfo.participants[indexPath.row] cell.scheduleConfParticipantAddress = tableView.tag == 1 ? data.conferenceInfo.participants.filter {$0.weakEqual(address2: data.conferenceInfo.organizer!)}.first : data.conferenceInfo.participants[indexPath.row]
cell.limeBadge.isHidden = true cell.limeBadge.isHidden = true
cell.addButton.isHidden = true
return cell return cell
} }

View file

@ -123,14 +123,14 @@ import AVKit
// Picture in picture on video call // Picture in picture on video call
override func viewWillDisappear(_ animated: Bool) { override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated) super.viewWillDisappear(animated)
if (CallsViewModel.shared.currentCallData.value??.call.state == .StreamsRunning && pipController.isPictureInPicturePossible) { if (pipController != nil && CallsViewModel.shared.currentCallData.value??.call.state == .StreamsRunning && pipController.isPictureInPicturePossible) {
pipController.startPictureInPicture() pipController.startPictureInPicture()
} }
} }
override func viewDidAppear(_ animated: Bool) { override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated) super.viewDidAppear(animated)
if pipController.isPictureInPictureActive { if pipController != nil && pipController.isPictureInPictureActive {
pipController.stopPictureInPicture() pipController.stopPictureInPicture()
} }
} }

View file

@ -5,7 +5,7 @@ source "https://github.com/CocoaPods/Specs.git"
def all_pods def all_pods
if ENV['PODFILE_PATH'].nil? if ENV['PODFILE_PATH'].nil?
pod 'linphone-sdk', '~>5.3.4' pod 'linphone-sdk', '~>5.3.20'
else else
pod 'linphone-sdk', :path => ENV['PODFILE_PATH'] # local sdk pod 'linphone-sdk', :path => ENV['PODFILE_PATH'] # local sdk
end end

View file

@ -603,7 +603,7 @@
63E27A321C4FECD000D332AE /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 63E27A311C4FECD000D332AE /* LaunchScreen.xib */; }; 63E27A321C4FECD000D332AE /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 63E27A311C4FECD000D332AE /* LaunchScreen.xib */; };
63E27A521C50EDB000D332AE /* hold.mkv in Resources */ = {isa = PBXBuildFile; fileRef = 63E27A511C50EB2700D332AE /* hold.mkv */; }; 63E27A521C50EDB000D332AE /* hold.mkv in Resources */ = {isa = PBXBuildFile; fileRef = 63E27A511C50EB2700D332AE /* hold.mkv */; };
63E59A3F1ADE70D900646FB3 /* InAppProductsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 63E59A3E1ADE70D900646FB3 /* InAppProductsManager.m */; }; 63E59A3F1ADE70D900646FB3 /* InAppProductsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 63E59A3E1ADE70D900646FB3 /* InAppProductsManager.m */; };
63E802DB1C625AEF000D5509 /* (null) in Resources */ = {isa = PBXBuildFile; }; 63E802DB1C625AEF000D5509 /* BuildFile in Resources */ = {isa = PBXBuildFile; };
63EC8D391D7438660066547B /* AssistantLinkView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 63EC8D3B1D7438660066547B /* AssistantLinkView.xib */; }; 63EC8D391D7438660066547B /* AssistantLinkView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 63EC8D3B1D7438660066547B /* AssistantLinkView.xib */; };
63F1DF441BCE618E00EDED90 /* UIAddressTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 63F1DF431BCE618E00EDED90 /* UIAddressTextField.m */; }; 63F1DF441BCE618E00EDED90 /* UIAddressTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 63F1DF431BCE618E00EDED90 /* UIAddressTextField.m */; };
63FB30351A680E73008CA393 /* UIRoundedImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 63FB30341A680E73008CA393 /* UIRoundedImageView.m */; }; 63FB30351A680E73008CA393 /* UIRoundedImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 63FB30341A680E73008CA393 /* UIRoundedImageView.m */; };
@ -2637,7 +2637,7 @@
path = LinphoneUI; path = LinphoneUI;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { 29B97314FDCFA39411CA2CEA = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
8C23BCB71D82AAC3005F19BB /* linphone.entitlements */, 8C23BCB71D82AAC3005F19BB /* linphone.entitlements */,
@ -4204,7 +4204,7 @@
es_AR, es_AR,
cs, cs,
); );
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; mainGroup = 29B97314FDCFA39411CA2CEA;
productRefGroup = 19C28FACFE9D520D11CA2CBB /* Products */; productRefGroup = 19C28FACFE9D520D11CA2CBB /* Products */;
projectDirPath = ""; projectDirPath = "";
projectRoot = ""; projectRoot = "";
@ -4277,7 +4277,7 @@
633FEEE01D3CD55A0014B822 /* numpad_8_over~ipad@2x.png in Resources */, 633FEEE01D3CD55A0014B822 /* numpad_8_over~ipad@2x.png in Resources */,
633FEDDC1D3CD5590014B822 /* call_start_body_disabled~ipad.png in Resources */, 633FEDDC1D3CD5590014B822 /* call_start_body_disabled~ipad.png in Resources */,
C63F72FF285A31DA0066163B /* Roboto-Bold.ttf in Resources */, C63F72FF285A31DA0066163B /* Roboto-Bold.ttf in Resources */,
63E802DB1C625AEF000D5509 /* (null) in Resources */, 63E802DB1C625AEF000D5509 /* BuildFile in Resources */,
633FEE2E1D3CD5590014B822 /* color_F.png in Resources */, 633FEE2E1D3CD5590014B822 /* color_F.png in Resources */,
633FEDC51D3CD5590014B822 /* call_hangup_disabled@2x.png in Resources */, 633FEDC51D3CD5590014B822 /* call_hangup_disabled@2x.png in Resources */,
633FEEDF1D3CD55A0014B822 /* numpad_8_over~ipad.png in Resources */, 633FEEDF1D3CD55A0014B822 /* numpad_8_over~ipad.png in Resources */,
@ -5858,14 +5858,14 @@
"$(inherited)", "$(inherited)",
); );
LINK_WITH_STANDARD_LIBRARIES = YES; LINK_WITH_STANDARD_LIBRARIES = YES;
MARKETING_VERSION = 5.2.1; MARKETING_VERSION = 5.2.2;
OTHER_CFLAGS = ( OTHER_CFLAGS = (
"-DBCTBX_LOG_DOMAIN=\\\"ios\\\"", "-DBCTBX_LOG_DOMAIN=\\\"ios\\\"",
"-DCHECK_VERSION_UPDATE=FALSE", "-DCHECK_VERSION_UPDATE=FALSE",
"-DENABLE_QRCODE=TRUE", "-DENABLE_QRCODE=TRUE",
"-DENABLE_SMS_INVITE=TRUE", "-DENABLE_SMS_INVITE=TRUE",
"$(inherited)", "$(inherited)",
"-DLINPHONE_SDK_VERSION=\\\"5.3.0-alpha.173+990473d73\\\"", "-DLINPHONE_SDK_VERSION=\\\"5.3.20\\\"",
); );
OTHER_SWIFT_FLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone; PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone;
@ -5983,14 +5983,14 @@
"$(inherited)", "$(inherited)",
); );
LINK_WITH_STANDARD_LIBRARIES = YES; LINK_WITH_STANDARD_LIBRARIES = YES;
MARKETING_VERSION = 5.2.1; MARKETING_VERSION = 5.2.2;
OTHER_CFLAGS = ( OTHER_CFLAGS = (
"-DBCTBX_LOG_DOMAIN=\\\"ios\\\"", "-DBCTBX_LOG_DOMAIN=\\\"ios\\\"",
"-DCHECK_VERSION_UPDATE=FALSE", "-DCHECK_VERSION_UPDATE=FALSE",
"-DENABLE_QRCODE=TRUE", "-DENABLE_QRCODE=TRUE",
"-DENABLE_SMS_INVITE=TRUE", "-DENABLE_SMS_INVITE=TRUE",
"$(inherited)", "$(inherited)",
"-DLINPHONE_SDK_VERSION=\\\"5.3.0-alpha.173+990473d73\\\"", "-DLINPHONE_SDK_VERSION=\\\"5.3.20\\\"",
); );
OTHER_SWIFT_FLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone; PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone;
@ -6107,14 +6107,14 @@
"$(inherited)", "$(inherited)",
); );
LINK_WITH_STANDARD_LIBRARIES = YES; LINK_WITH_STANDARD_LIBRARIES = YES;
MARKETING_VERSION = 5.2.1; MARKETING_VERSION = 5.2.2;
OTHER_CFLAGS = ( OTHER_CFLAGS = (
"-DBCTBX_LOG_DOMAIN=\\\"ios\\\"", "-DBCTBX_LOG_DOMAIN=\\\"ios\\\"",
"-DCHECK_VERSION_UPDATE=FALSE", "-DCHECK_VERSION_UPDATE=FALSE",
"-DENABLE_QRCODE=TRUE", "-DENABLE_QRCODE=TRUE",
"-DENABLE_SMS_INVITE=TRUE", "-DENABLE_SMS_INVITE=TRUE",
"$(inherited)", "$(inherited)",
"-DLINPHONE_SDK_VERSION=\\\"5.3.0-alpha.173+990473d73\\\"", "-DLINPHONE_SDK_VERSION=\\\"5.3.20\\\"",
); );
OTHER_SWIFT_FLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone; PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone;
@ -6230,14 +6230,14 @@
"$(inherited)", "$(inherited)",
); );
LINK_WITH_STANDARD_LIBRARIES = YES; LINK_WITH_STANDARD_LIBRARIES = YES;
MARKETING_VERSION = 5.2.1; MARKETING_VERSION = 5.2.2;
OTHER_CFLAGS = ( OTHER_CFLAGS = (
"-DBCTBX_LOG_DOMAIN=\\\"ios\\\"", "-DBCTBX_LOG_DOMAIN=\\\"ios\\\"",
"-DCHECK_VERSION_UPDATE=FALSE", "-DCHECK_VERSION_UPDATE=FALSE",
"-DENABLE_QRCODE=TRUE", "-DENABLE_QRCODE=TRUE",
"-DENABLE_SMS_INVITE=TRUE", "-DENABLE_SMS_INVITE=TRUE",
"$(inherited)", "$(inherited)",
"-DLINPHONE_SDK_VERSION=\\\"5.3.0-alpha.173+990473d73\\\"", "-DLINPHONE_SDK_VERSION=\\\"5.3.20\\\"",
); );
OTHER_SWIFT_FLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone; PRODUCT_BUNDLE_IDENTIFIER = org.linphone.phone;