diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..a5a94509 Binary files /dev/null and b/.DS_Store differ diff --git a/CometChatUIKitSwift.xcodeproj/project.pbxproj b/CometChatUIKitSwift.xcodeproj/project.pbxproj index 7405624b..44f045ce 100644 --- a/CometChatUIKitSwift.xcodeproj/project.pbxproj +++ b/CometChatUIKitSwift.xcodeproj/project.pbxproj @@ -12,15 +12,10 @@ 181664A02C858FFC009F53B7 /* UIView+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1816649F2C858FFC009F53B7 /* UIView+Extensions.swift */; }; 1819C9CC2CB41C1A00F77CDA /* CometChatMessageComposer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1819C9CB2CB41C1200F77CDA /* CometChatMessageComposer.swift */; }; 1830373E2D19424B00DB2B07 /* MessageComposerViewModel+UsersEventListener.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1830373D2D19424B00DB2B07 /* MessageComposerViewModel+UsersEventListener.swift */; }; - 18364DB02D25B0CD00769643 /* CometChatUIKitSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8466DBFF2AA7B5DD00093E91 /* CometChatUIKitSwift.framework */; }; - 18364DB32D25B17300769643 /* CometChatUIKitSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8466DBFF2AA7B5DD00093E91 /* CometChatUIKitSwift.framework */; }; - 18364DB42D25B17300769643 /* CometChatUIKitSwift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8466DBFF2AA7B5DD00093E91 /* CometChatUIKitSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 18583DAB2C7D0D8800B3E11C /* CometChatTheme.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18583DAA2C7D0D8800B3E11C /* CometChatTheme.swift */; }; 18583DAE2C7D190000B3E11C /* CometChatColorExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18583DAD2C7D190000B3E11C /* CometChatColorExtensions.swift */; }; 18583DB12C7D1AD500B3E11C /* CometChatSpacing.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18583DB02C7D1AD500B3E11C /* CometChatSpacing.swift */; }; 18583DB42C7D1E3C00B3E11C /* CometChatTypography.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18583DB32C7D1E3C00B3E11C /* CometChatTypography.swift */; }; - 186592752D25BAEA00B5C767 /* CometChatUIKitSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8466DBFF2AA7B5DD00093E91 /* CometChatUIKitSwift.framework */; }; - 186592762D25BAEA00B5C767 /* CometChatUIKitSwift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8466DBFF2AA7B5DD00093E91 /* CometChatUIKitSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 187B47F32C1CD00B003B6523 /* CometChatMessageEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 187B47F22C1CD00B003B6523 /* CometChatMessageEvents.swift */; }; 187B47F62C1D8D19003B6523 /* CometChatCallEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 187B47F52C1D8D19003B6523 /* CometChatCallEvents.swift */; }; 187B47F92C1D8DBF003B6523 /* CometChatUIEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 187B47F82C1D8DBF003B6523 /* CometChatUIEvents.swift */; }; @@ -477,13 +472,6 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 183038912D19483000DB2B07 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8466DBF62AA7B5DD00093E91 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 8466DBFE2AA7B5DD00093E91; - remoteInfo = CometChatUIKitSwift; - }; 18364DB52D25B17300769643 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 8466DBF62AA7B5DD00093E91 /* Project object */; @@ -491,40 +479,8 @@ remoteGlobalIDString = 8466DBFE2AA7B5DD00093E91; remoteInfo = CometChatUIKitSwift; }; - 186592772D25BAEA00B5C767 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 8466DBF62AA7B5DD00093E91 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 8466DBFE2AA7B5DD00093E91; - remoteInfo = CometChatUIKitSwift; - }; /* End PBXContainerItemProxy section */ -/* Begin PBXCopyFilesBuildPhase section */ - 18364DB72D25B17300769643 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 18364DB42D25B17300769643 /* CometChatUIKitSwift.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; - 186592792D25BAEB00B5C767 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 186592762D25BAEA00B5C767 /* CometChatUIKitSwift.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - /* Begin PBXFileReference section */ 0251A31FADB041CA46A42480 /* Pods_SampleApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SampleApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 1806822A2C46B3130039640B /* ConversationsStyle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConversationsStyle.swift; sourceTree = ""; }; @@ -1053,7 +1009,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 186592752D25BAEA00B5C767 /* CometChatUIKitSwift.framework in Frameworks */, 610AD492E3045DFAFFAB4A07 /* Pods_SampleApp.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -1062,8 +1017,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 18364DB32D25B17300769643 /* CometChatUIKitSwift.framework in Frameworks */, - 18364DB02D25B0CD00769643 /* CometChatUIKitSwift.framework in Frameworks */, BA902494C789E215976A2DCB /* Pods_SampleAppPushNotificationAPNs.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -2800,14 +2753,12 @@ 186590D22D25B9E500B5C767 /* Sources */, 186590D32D25B9E500B5C767 /* Frameworks */, 186590D42D25B9E500B5C767 /* Resources */, - EA0F259A9830179E46D16567 /* [CP] Embed Pods Frameworks */, - 0E78A8969871E197343B7C5B /* [CP] Copy Pods Resources */, - 186592792D25BAEB00B5C767 /* Embed Frameworks */, + 794BEC6E730F3196885A7930 /* [CP] Embed Pods Frameworks */, + F258950AC6E653CC98C7A281 /* [CP] Copy Pods Resources */, ); buildRules = ( ); dependencies = ( - 186592782D25BAEA00B5C767 /* PBXTargetDependency */, ); fileSystemSynchronizedGroups = ( 186590D72D25B9E500B5C767 /* SampleApp */, @@ -2825,15 +2776,13 @@ 18A541DA2CC12E1700AA055A /* Sources */, 18A541DB2CC12E1700AA055A /* Frameworks */, 18A541DC2CC12E1700AA055A /* Resources */, - 23E821562955E89ACAF0A208 /* [CP] Embed Pods Frameworks */, - FAE46BD087EDCDA29B7A59D7 /* [CP] Copy Pods Resources */, 188844AD2CE244BF0054F074 /* ShellScript */, - 18364DB72D25B17300769643 /* Embed Frameworks */, + 09A4782D98AE8F180B7250AB /* [CP] Embed Pods Frameworks */, + BE2AB8A84A760BD4556F93D7 /* [CP] Copy Pods Resources */, ); buildRules = ( ); dependencies = ( - 183038922D19483000DB2B07 /* PBXTargetDependency */, 18364DB62D25B17300769643 /* PBXTargetDependency */, ); fileSystemSynchronizedGroups = ( @@ -2997,21 +2946,21 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 0E78A8969871E197343B7C5B /* [CP] Copy Pods Resources */ = { + 09A4782D98AE8F180B7250AB /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Copy Pods Resources"; + name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 188844AD2CE244BF0054F074 /* ShellScript */ = { @@ -3036,21 +2985,21 @@ shellPath = /bin/sh; shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n"; }; - 23E821562955E89ACAF0A208 /* [CP] Embed Pods Frameworks */ = { + 794BEC6E730F3196885A7930 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 8772D9B6D8C2641A48779DE5 /* [CP] Check Pods Manifest.lock */ = { @@ -3075,21 +3024,21 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - EA0F259A9830179E46D16567 /* [CP] Embed Pods Frameworks */ = { + BE2AB8A84A760BD4556F93D7 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources.sh\"\n"; showEnvVarsInLog = 0; }; F0032C873B8F36BDD7F83DB0 /* [CP] Check Pods Manifest.lock */ = { @@ -3114,21 +3063,21 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - FAE46BD087EDCDA29B7A59D7 /* [CP] Copy Pods Resources */ = { + F258950AC6E653CC98C7A281 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleAppPushNotificationAPNs/Pods-SampleAppPushNotificationAPNs-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleApp/Pods-SampleApp-resources.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -3559,21 +3508,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 183038922D19483000DB2B07 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8466DBFE2AA7B5DD00093E91 /* CometChatUIKitSwift */; - targetProxy = 183038912D19483000DB2B07 /* PBXContainerItemProxy */; - }; 18364DB62D25B17300769643 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 8466DBFE2AA7B5DD00093E91 /* CometChatUIKitSwift */; targetProxy = 18364DB52D25B17300769643 /* PBXContainerItemProxy */; }; - 186592782D25BAEA00B5C767 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8466DBFE2AA7B5DD00093E91 /* CometChatUIKitSwift */; - targetProxy = 186592772D25BAEA00B5C767 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -3738,8 +3677,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.inscripts.sample.app.SampleApp; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -3773,8 +3712,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.inscripts.sample.app.SampleApp; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -3815,8 +3754,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = "5.0.0-alpha13"; - PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.apns.swift; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; @@ -3859,8 +3798,8 @@ "@executable_path/Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = "5.0.0-alpha13"; - PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.swift; + MARKETING_VERSION = "5.0.0-beta.2"; + PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.sampleapp.apns.swift; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_EMIT_LOC_STRINGS = YES; @@ -4022,7 +3961,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 4.3.17; + MARKETING_VERSION = "5.0.0-beta.2"; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.CometChatUIKitSwift; @@ -4069,7 +4008,7 @@ "@loader_path/Frameworks", ); LIBRARY_SEARCH_PATHS = ""; - MARKETING_VERSION = 4.3.17; + MARKETING_VERSION = "5.0.0-beta.2"; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu11 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = com.cometchat.CometChatUIKitSwift; diff --git a/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift b/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift index dad88602..c17d0c66 100644 --- a/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift +++ b/CometChatUIKitSwift/Components/Shared/CometChatUIKit/CometChatUIKit.swift @@ -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 { diff --git a/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift b/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift index 90903cda..372d0611 100644 --- a/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift +++ b/CometChatUIKitSwift/Components/Shared/Constants/UIKitConstants.swift @@ -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" diff --git a/Podfile b/Podfile index 95bd0e58..88512cc8 100644 --- a/Podfile +++ b/Podfile @@ -6,6 +6,7 @@ target 'SampleAppPushNotificationAPNs' do pod 'CometChatCallsSDK' pod 'CometChatSDK' + pod 'CometChatUIKitSwift', '5.0.0-beta.2' end @@ -16,6 +17,7 @@ target 'SampleApp' do pod 'CometChatCallsSDK' pod 'CometChatSDK' + pod 'CometChatUIKitSwift', '5.0.0-beta.2' end diff --git a/SampleApp/Info.plist b/SampleApp/Info.plist index 4ae469e0..ac3571fa 100644 --- a/SampleApp/Info.plist +++ b/SampleApp/Info.plist @@ -21,7 +21,7 @@ CometChatSDK - 4.0.53 + 4.0.54 GIDClientID YOUR_DOT_REVERSED_IOS_CLIENT_ID UIApplicationSceneManifest diff --git a/SampleApp/SceneDelegate.swift b/SampleApp/SceneDelegate.swift index 9ee59319..b42e73bb 100644 --- a/SampleApp/SceneDelegate.swift +++ b/SampleApp/SceneDelegate.swift @@ -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)") diff --git a/SampleAppPushNotificationAPNs/Info.plist b/SampleAppPushNotificationAPNs/Info.plist index 4ae469e0..ac3571fa 100644 --- a/SampleAppPushNotificationAPNs/Info.plist +++ b/SampleAppPushNotificationAPNs/Info.plist @@ -21,7 +21,7 @@ CometChatSDK - 4.0.53 + 4.0.54 GIDClientID YOUR_DOT_REVERSED_IOS_CLIENT_ID UIApplicationSceneManifest diff --git a/SampleAppPushNotificationAPNs/SceneDelegate.swift b/SampleAppPushNotificationAPNs/SceneDelegate.swift index 9ee59319..b42e73bb 100644 --- a/SampleAppPushNotificationAPNs/SceneDelegate.swift +++ b/SampleAppPushNotificationAPNs/SceneDelegate.swift @@ -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)")