Skip to content

Commit d0ee6f0

Browse files
Merge pull request #158 from sendbird/release/3.30.0
Release/3.30.0 -> main
2 parents 2b0696e + 98425a5 commit d0ee6f0

27 files changed

+3228
-527
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
### v3.30.0 (Feb 27, 2025)
4+
5+
## Improvements
6+
### Minimum iOS Version Requirement Updated
7+
- The minimum supported iOS version has been raised from iOS 12 to **iOS 13**.
8+
- No changes to functionality—just ensuring compatibility with modern iOS environments.
9+
310
### v3.29.2 (Feb 10, 2025)
411

512
## New Interfaces

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ let package = Package(
1919
.package(
2020
name: "SendbirdChatSDK",
2121
url: "https://github.com/sendbird/sendbird-chat-sdk-ios",
22-
from: "4.23.1"
22+
from: "4.25.0"
2323
),
2424
],
2525
targets: [
2626
.binaryTarget(
2727
name: "SendbirdUIKit",
28-
url: "https://github.com/sendbird/sendbird-uikit-ios/releases/download/3.29.2/SendbirdUIKit.xcframework.zip", // SendbirdUIKit_URL
29-
checksum: "bd2b10a922a2f9c4ddd091ef6ee548e7fbaec8b89575c0d7c6586c9201f1e850" // SendbirdUIKit_CHECKSUM
28+
url: "https://github.com/sendbird/sendbird-uikit-ios/releases/download/3.30.0/SendbirdUIKit.xcframework.zip", // SendbirdUIKit_URL
29+
checksum: "b6c87631c28690713a9260e0fea87b820801f6f65645573e66e806f697ac6ea3" // SendbirdUIKit_CHECKSUM
3030
),
3131
.binaryTarget(
3232
name: "SendbirdUIMessageTemplate",
33-
url: "https://github.com/sendbird/sendbird-uikit-ios/releases/download/3.29.2/SendbirdUIMessageTemplate.xcframework.zip", // SendbirdUIMessageTemplate_URL
34-
checksum: "2dfc617fbec3b617b8b18f44fdda10cf6c3f2e75ec156574b1eb734cf5546bc1" // SendbirdUIMessageTemplate_CHECKSUM
33+
url: "https://github.com/sendbird/sendbird-uikit-ios/releases/download/3.30.0/SendbirdUIMessageTemplate.xcframework.zip", // SendbirdUIMessageTemplate_URL
34+
checksum: "10a2e3f694bf99feab335a3ee76363b0a7d7ffc96a0acb219ef56e0be6cc02b6" // SendbirdUIMessageTemplate_CHECKSUM
3535
),
3636
.target(
3737
name: "SendbirdUIKitTarget",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The minimum requirements for Sendbird UIKit for iOS are:
6060

6161
- iOS 13+
6262
- Swift 5.10+
63-
- Sendbird Chat SDK for iOS 4.23.1+
63+
- Sendbird Chat SDK for iOS 4.25.0+
6464

6565
<br />
6666

Sample/QuickStart.xcodeproj/project.pbxproj

Lines changed: 3084 additions & 250 deletions
Large diffs are not rendered by default.

Sample/QuickStart.xcodeproj/xcshareddata/xcschemes/QuickStart.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1250"
3+
LastUpgradeVersion = "1430"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"

Sample/QuickStart/Base/GroupChannel/MySettings/UserInfoTitleView.swift

Lines changed: 33 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -102,73 +102,39 @@ class UserInfoTitleView: UIView {
102102
constant: 23)
103103
)
104104

105-
if #available(iOS 11.0, *) {
106-
layoutConstraints.append(self.lineView.leadingAnchor.constraint(
107-
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
108-
constant: 16)
109-
)
110-
layoutConstraints.append(self.lineView.trailingAnchor.constraint(
111-
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
112-
constant: -16)
113-
)
114-
layoutConstraints.append(self.userIdTitleLabel.leadingAnchor.constraint(
115-
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
116-
constant: 16)
117-
)
118-
layoutConstraints.append(self.userIdTitleLabel.trailingAnchor.constraint(
119-
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
120-
constant: -16)
121-
)
122-
layoutConstraints.append(self.userIdLabel.leadingAnchor.constraint(
123-
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
124-
constant: 16)
125-
)
126-
layoutConstraints.append(self.userIdLabel.trailingAnchor.constraint(
127-
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
128-
constant: -16)
129-
)
130-
layoutConstraints.append(self.bottomLineView.leadingAnchor.constraint(
131-
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
132-
constant: 16)
133-
)
134-
layoutConstraints.append(self.bottomLineView.trailingAnchor.constraint(
135-
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
136-
constant: -16)
137-
)
138-
} else {
139-
layoutConstraints.append(self.lineView.leadingAnchor.constraint(
140-
equalTo: self.leadingAnchor,
141-
constant: 16)
142-
)
143-
layoutConstraints.append(self.lineView.trailingAnchor.constraint(
144-
equalTo: self.trailingAnchor,
145-
constant: -16)
146-
)
147-
layoutConstraints.append(self.userIdTitleLabel.leadingAnchor.constraint(
148-
equalTo: self.leadingAnchor,
149-
constant: 16)
150-
)
151-
layoutConstraints.append(self.userIdTitleLabel.trailingAnchor.constraint(
152-
equalTo: self.trailingAnchor,
153-
constant: -16)
154-
)
155-
layoutConstraints.append(self.userIdLabel.leadingAnchor.constraint(
156-
equalTo: self.leadingAnchor,
157-
constant: 16)
158-
)
159-
layoutConstraints.append(self.userIdLabel.trailingAnchor.constraint(
160-
equalTo: self.trailingAnchor,
161-
constant: -16)
162-
)
163-
layoutConstraints.append(self.bottomLineView.leadingAnchor.constraint(
164-
equalTo: self.leadingAnchor,
165-
constant: 16)
166-
)
167-
layoutConstraints.append(self.bottomLineView.trailingAnchor.constraint(
168-
equalTo: self.trailingAnchor,
169-
constant: -16)
170-
)
171-
}
105+
layoutConstraints.append(self.lineView.leadingAnchor.constraint(
106+
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
107+
constant: 16)
108+
)
109+
layoutConstraints.append(self.lineView.trailingAnchor.constraint(
110+
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
111+
constant: -16)
112+
)
113+
layoutConstraints.append(self.userIdTitleLabel.leadingAnchor.constraint(
114+
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
115+
constant: 16)
116+
)
117+
layoutConstraints.append(self.userIdTitleLabel.trailingAnchor.constraint(
118+
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
119+
constant: -16)
120+
)
121+
layoutConstraints.append(self.userIdLabel.leadingAnchor.constraint(
122+
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
123+
constant: 16)
124+
)
125+
layoutConstraints.append(self.userIdLabel.trailingAnchor.constraint(
126+
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
127+
constant: -16)
128+
)
129+
layoutConstraints.append(self.bottomLineView.leadingAnchor.constraint(
130+
equalTo: self.safeAreaLayoutGuide.leadingAnchor,
131+
constant: 16)
132+
)
133+
layoutConstraints.append(self.bottomLineView.trailingAnchor.constraint(
134+
equalTo: self.safeAreaLayoutGuide.trailingAnchor,
135+
constant: -16)
136+
)
137+
172138
layoutConstraints.append(self.userIdTitleLabel.topAnchor.constraint(
173139
equalTo: self.lineView.bottomAnchor,
174140
constant: 15)

Sample/QuickStart/Customize/Manager/Common/SampleManager.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
import UIKit
1010
import SendbirdChatSDK
11+
#if canImport(SendbirdUIKit)
12+
import SendbirdUIKit
13+
#endif
1114

1215
// This function handles alertController to be used in the sample app.
1316
class AlertManager: NSObject {

Sample/QuickStart/Customize/View/Channel/ChannelVC_CustomHeader.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
import UIKit
1010
import SendbirdChatSDK
11+
#if canImport(SendbirdUIKit)
12+
import SendbirdUIKit
13+
#endif
1114

1215
// MARK: - Module
1316
class CustomChannelModule { }

Sample/QuickStart/Customize/View/Channel/ChannelVC_CustomMessageMenuItem.swift

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,11 @@ class CustomGroupChannelModuleList: SBUGroupChannelModule.List {
8181
private func createReportMessageMenuItem(for message: BaseMessage) -> SBUMenuItem {
8282
var iconImage: UIImage?
8383

84-
if #available(iOS 13.0, *) {
85-
let symbolConfiguration = UIImage.SymbolConfiguration(pointSize: 24, weight: .bold)
86-
iconImage = UIImage(
87-
systemName: "exclamationmark.triangle",
88-
withConfiguration: symbolConfiguration
89-
)
90-
}
84+
let symbolConfiguration = UIImage.SymbolConfiguration(pointSize: 24, weight: .bold)
85+
iconImage = UIImage(
86+
systemName: "exclamationmark.triangle",
87+
withConfiguration: symbolConfiguration
88+
)
9189

9290
let menuItem = SBUMenuItem(
9391
title: "Report",

Sample/QuickStart/Customize/View/OpenChannel/OpenChannelVC_CustomMessageMenuItem.swift

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,12 @@ class CustomOpenChannelModuleList: SBUOpenChannelModule.List {
8181
private func createReportMessageMenuItem(for message: BaseMessage) -> SBUMenuItem {
8282
var iconImage: UIImage?
8383

84-
if #available(iOS 13.0, *) {
85-
let symbolConfiguration = UIImage.SymbolConfiguration(pointSize: 24, weight: .bold)
86-
if let image = UIImage(
87-
systemName: "exclamationmark.triangle",
88-
withConfiguration: symbolConfiguration
89-
)?.withRenderingMode(.alwaysOriginal) {
90-
iconImage = image.sbu_with(tintColor: SBUColorSet.primary300)
91-
}
84+
let symbolConfiguration = UIImage.SymbolConfiguration(pointSize: 24, weight: .bold)
85+
if let image = UIImage(
86+
systemName: "exclamationmark.triangle",
87+
withConfiguration: symbolConfiguration
88+
)?.withRenderingMode(.alwaysOriginal) {
89+
iconImage = image.sbu_with(tintColor: SBUColorSet.primary300)
9290
}
9391

9492
let menuItem = SBUMenuItem(

0 commit comments

Comments
 (0)