Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
125 changes: 32 additions & 93 deletions CometChatUIKitSwift.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final public class CometChatUIKit {
CometChat.init(appId: uiKitSettings.appID, appSettings: AppSettings(builder: uiKitSettings.appSettingsBuilder)) { isSuccess in
CometChatUIKit.uiKitSettings = uiKitSettings
if isSuccess {
CometChat.setSource(resource: "uikit-v4", platform: "ios", language: "swift", version: UIKitConstants.version)
CometChat.setSource(resource: "uikit-v5", platform: "ios", language: "swift", version: UIKitConstants.version)
#if canImport(CometChatCallsSDK)
if !uiKitSettings.isCallingDisabled {
if let customCallingExtension = uiKitSettings.callingExtensions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public struct UIConstants {
}

internal struct UIKitConstants {
static var version = "4.3.17"
static var version = "5.0.0-beta.2"
static var messageId = "messageId"
static var conversationId = "conversationId"
static var senderId = "senderId"
Expand Down
2 changes: 2 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ target 'SampleAppPushNotificationAPNs' do

pod 'CometChatCallsSDK'
pod 'CometChatSDK'
pod 'CometChatUIKitSwift', '5.0.0-beta.2'

end

Expand All @@ -16,6 +17,7 @@ target 'SampleApp' do

pod 'CometChatCallsSDK'
pod 'CometChatSDK'
pod 'CometChatUIKitSwift', '5.0.0-beta.2'

end

2 changes: 1 addition & 1 deletion SampleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</dict>
</array>
<key>CometChatSDK</key>
<string>4.0.53</string>
<string>4.0.54</string>
<key>GIDClientID</key>
<string>YOUR_DOT_REVERSED_IOS_CLIENT_ID</string>
<key>UIApplicationSceneManifest</key>
Expand Down
2 changes: 1 addition & 1 deletion SampleApp/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
result in
switch result {
case .success(_):
CometChat.setSource(resource: "uikit-v4", platform: "ios", language: "swift")
CometChat.setSource(resource: "uikit-v5", platform: "ios", language: "swift")
break
case .failure(let error):
print( "Initialization Error: \(error.localizedDescription)")
Expand Down
2 changes: 1 addition & 1 deletion SampleAppPushNotificationAPNs/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</dict>
</array>
<key>CometChatSDK</key>
<string>4.0.53</string>
<string>4.0.54</string>
<key>GIDClientID</key>
<string>YOUR_DOT_REVERSED_IOS_CLIENT_ID</string>
<key>UIApplicationSceneManifest</key>
Expand Down
2 changes: 1 addition & 1 deletion SampleAppPushNotificationAPNs/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
result in
switch result {
case .success(_):
CometChat.setSource(resource: "uikit-v4", platform: "ios", language: "swift")
CometChat.setSource(resource: "uikit-v5", platform: "ios", language: "swift")
break
case .failure(let error):
print( "Initialization Error: \(error.localizedDescription)")
Expand Down