Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cometchat/cometchat-sample-app-ios

Voice & Video Calling and Text Chat App for iOS
https://github.com/cometchat/cometchat-sample-app-ios

app calling chat conference ios messaging swift video voice

Last synced: 2 days ago
JSON representation

Voice & Video Calling and Text Chat App for iOS

Awesome Lists containing this project

README

        


CometChat

# iOS Sample App by CometChat

This reference application showcases the integration of [CometChat's iOS UI Kit](https://www.cometchat.com/docs/v4/ios-uikit/overview) within an iOS framework. It provides developers with examples of implementing real-time messaging and voice and video calling features in their iOS-based applications.



## 🚀 Try the New v5 UI Kit!
Discover the all-new [v5 UI Kit](https://github.com/cometchat/cometchat-uikit-ios/tree/v5), featuring a completely revamped desigS for enhanced usability and visual appeal. With restructured components, advanced styling options, and a streamlined integration process, v5 offers a seamless, customizable experience tailored to your needs. Try it now and elevate your development workflow!

## Prerequisites

- Xcode
- pod (CocoaPods)
- Sign up for a [CometChat](https://app.cometchat.com/) account to get your app credentials: _`App ID`_, _`Region`_, and _`Auth Key`_

## Installation
1. Clone the repository:
```
git clone https://github.com/cometchat/cometchat-sample-app-ios.git
```

2. Navigate to the project directory:
```sh
cd cometchat-sample-app-ios/CometChatSwift
```

3. Install dependencies:
```sh
pod install
```

4. If you're facing any issues while installing pods then use the below command.
```sh
pod install --repo-update
```

5. In Xcode, open the project by opening `cometchat-sample-app-ios/CometChatSwift.xcworkspace`

6. Enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_ in the [CometChatSwift/AppConstants.swift](CometChatSwift/AppConstants.swift) file:
https://github.com/cometchat/cometchat-uikit-ios/blob/056b60f4b8092a6a24df64e371e56879bbb77915/CometChatSwift/AppConstants.swift#L9-L13

7. If your app is created before August 12th, 2024 then change the sample data URL to `https://assets.cometchat.io/sampleapp/v1/sampledata.json` in the [CometChatSwift/Controllers/Login.swift](https://github.com/cometchat/cometchat-uikit-ios/blob/v4/CometChatSwift/Controllers/Login.swift) file: https://github.com/cometchat/cometchat-uikit-ios/blob/056b60f4b8092a6a24df64e371e56879bbb77915/CometChatSwift/Controllers/Login.swift#L109-L111

8. Run the app on a device or emulator.

## Help and Support
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ios-uikit/integration) or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](http://app.cometchat.com/).