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.
Before you begin, ensure you have met the following requirements:
-
You have installed the latest version of Xcode. (Above Xcode 12 Recommended)
-
iOS Objective-C Chat App works for the iOS devices from iOS 11 and above.
NOTE: Please install the latest pod version on your Mac to avoid integration issues
Please follow the below steps:
sudo gem update cocoapods --pre
pod update
clean
build
-
Simply clone the project from ios-objective-c-chat-app repository. After cloning the repository:
-
Navigate to project's folder and use below command to install the require dependancies.
$ pod install
-
If you're facing any issues while installing pods, then kindly use the below command to install dependancies.
pod install --repo-update
-
Build and run the Sample App.
To Run to sample app you have to do the following changes by Adding AppID, AuthKey and Region
You can obtain your App ID, Auth Key and Region from CometChat-Pro Dashboard. Create new app and head over to the Quick Start or API & Auth Keys section and note the App ID, Auth Key, and Region.
-
Open the project in Xcode.
-
Go to CometChatObjc --> AppConstants.h.
-
Modify App ID and Auth Key and Region with your own App ID, Auth Key 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.
- To receive real-time events for calls in Objective C you must have to register
CometchatCallDelegate
protocol and it's methods in AppDelegate.
Please, refer this guide for more information.
- Kindly, run it sample app on the physical device.
-
To read the full dcoumentation on UI Kit integration visit our Documentation .
-
Facing any issues while integrating or installing the UI Kit please connect with us via real time support present in CometChat Dashboard.
Thanks to the following people who have contributed to this project:
@pushpsenairekar2911 👨💻
@BudhabhooshanPatil 👨💻
@jeetkapadia 👨💻
@NishantTiwarins 👨💻
@Abhijitinscripts 📝
Contact us via real time support present in CometChat Dashboard.
This project uses the following license.