Skip to content
项目

cometchat/cometchat-sample-app-ios

在 GitHub 查看

关于

Voice & Video Calling and Text Chat App for iOS

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

CometChat

iOS Sample App by CometChat

This reference application showcases the integration of CometChat's iOS UI Kit 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, 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 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:

      cd cometchat-sample-app-ios/CometChatSwift
    
  3. Install dependencies:

      pod install
    
  4. If you're facing any issues while installing pods then use the below command.

      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 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 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 or create a support ticket or seek real-time support via the CometChat Dashboard.

探索相关项目

加载中…