CometChat Kitchen Sink Sample App (built using CometChat UIKit) is a fully functional messaging app capable of one-on-one (private) and group messaging as well as Calling. This sample app enables users to send text and multimedia messages like images, videos, documents. Also, users can make Audio and Video calls to other users or groups.
-
Simply clone the project from ios-swift-chat-app repository using the following command.
$ git clone https://github.com/cometchat-pro-samples/ios-swift-chat-app.git
After cloning the repository:
-
Select the appropriate version as per your Xcode version.
-
Navigate to project's folder and use below command to install the require pods.
$ pod install
-
If you're facing any issues while installing pods, then kindly use below command ton install pods.
pod install --repo-update
-
Build and run the Sample App.
To Run to sample app you have to do the following changes by Adding APP_ID, API_KEY and REGION_CODE
You can obtain your APP_ID, API_KEY and REGION_CODE from CometChat-Pro Dashboard
-
Open the project in Xcode.
-
Go to CometChatSwift --> AppConstants.swift.
-
Modify APP_ID and API_KEY and REGION with your own API_KEY, APP_ID and REGION.
-
Select demo users or enter the UID at the time of login once the app is launched.
Learn more about how to integrate UI Kit inside your app.
Facing any issues while integrating or installing the UI Kit please visit our forum.