{"id":23178525,"url":"https://github.com/cometchat/calls-sdk-ios","last_synced_at":"2025-10-18T01:57:05.405Z","repository":{"id":180956298,"uuid":"612376651","full_name":"cometchat/calls-sdk-ios","owner":"cometchat","description":"Voice \u0026 Video Calling SDK for iOS","archived":false,"fork":false,"pushed_at":"2024-10-28T11:42:54.000Z","size":300,"stargazers_count":12,"open_issues_count":0,"forks_count":10,"subscribers_count":11,"default_branch":"v4","last_synced_at":"2024-12-03T04:36:38.262Z","etag":null,"topics":["calls","ios","swift","video","voice"],"latest_commit_sha":null,"homepage":"https://www.cometchat.com","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cometchat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-10T20:08:05.000Z","updated_at":"2024-10-28T11:41:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"9836ef87-9291-499f-bdf0-3b7d44f89b3f","html_url":"https://github.com/cometchat/calls-sdk-ios","commit_stats":null,"previous_names":["cometchat-pro/ios-calls-sdk","cometchat/ios-calls-sdk","cometchat/calls-sdk-ios"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometchat%2Fcalls-sdk-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometchat%2Fcalls-sdk-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometchat%2Fcalls-sdk-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometchat%2Fcalls-sdk-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cometchat","download_url":"https://codeload.github.com/cometchat/calls-sdk-ios/tar.gz/refs/heads/v4","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230231438,"owners_count":18193919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calls","ios","swift","video","voice"],"created_at":"2024-12-18T07:11:40.844Z","updated_at":"2025-10-18T01:57:00.360Z","avatar_url":"https://github.com/cometchat.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"CometChat\" src=\"https://assets.cometchat.io/website/images/logos/banner.png\"\u003e\n\u003c/p\u003e\n\n\n# CometChat iOS Calls SDK\n\nCometChat enables you to add voice, video \u0026 text chat for your website \u0026 app.\n___\n\n## Prerequisites :star:\n\nBefore you begin, ensure you have met the following requirements:\n\n✅ \u0026nbsp; You have installed the latest version of Xcode. (Above Xcode 12 Recommended)\n\n✅ \u0026nbsp; iOS Calls SDK works for iOS devices from iOS 11 and above.\n\n___\n\n## Installing iOS Chat SDK \n\n## 1. Setup  :wrench:\n\nTo install iOS Call SDK, you need to first register on CometChat Dashboard. Click here to [sign up](https://app.cometchat.com/login).\n\n### i. Get your Application Keys :key:\n\n* Create a new app\n* Head over to the Quick Start or API \u0026 Auth Keys section and note the `App ID`, `Auth Key`,  and  `Region`.\n---\n\n### ii. Add the CometChatCallsSDK Dependency\n\n\nWe recommend using CocoaPods, as they are the most advanced way of managing iOS project dependencies. Open a terminal window, move to your project directory, and then create a Podfile by running the following command\n\n\nCreate podfile using below command.\n\n```bash\n$ pod init\n```\nAdd the following lines to the Podfile.\n\n```bash\n________________________________________________________________\n\nFor Xcode 12 and above:\n\nplatform :ios, '11.0'\nuse_frameworks!\n\ntarget 'YourApp' do\n     pod 'CometChatCallsSDK', '4.0.8'\nend\n________________________________________________________________\n\n\n```\nAnd then install the `CometChatCallsSDK` framework through CocoaPods.\n\n```bash\npod install\n```\n\nIf you're facing any issues while installing pods then use the below command. \n\n\n```bash\npod install --repo-update\n```\n\n___\n\n## 2. Configure CometChat inside your app\n\n### i. Initialize CometChat :star2:\n\nThe `init()` method initializes the settings required for CometChatCallsSDK. We suggest calling the `init()` method on app startup, preferably in the `didFinishLaunchingWithOptions()` method of the Application class. If you are using CometChat's iOS Chats SDK then initialize Calls SDK after initializing Chat SDK. \n\n```swift\nimport Foundation\nimport CometChatCallsSDK\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n    \n    var window: UIWindow?\n    \n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -\u003e Bool {\n        // Override point for customization after application launch.\n        \n        let callAppSettings = CallAppSettingsBuilder()\n            .setAppId(APP_ID)\n            .setRegion(REGION)\n            .build()\n        \n        CometChatCalls.init(callsAppSettings: callAppSettings) { success in\n            print(\"CometChatCalls init success\")\n        } onError: { error in\n            print(\"CometChatCalls init failed With error \\(error)\")\n        }\n        \n        return true\n    }\n```\n**Note :**\nMake sure you replace the APP_ID with your CometChat `appId` and `region` with your app region in the above code.\n\n___\n\n**Note :** \u003c/br\u003e\n* Make sure you replace the `authKey` with your CometChat Auth Key in the above code.\n\n* We have set up 5 users for testing having UIDs: `SUPERHERO1`, `SUPERHERO2`, `SUPERHERO3`, `SUPERHERO4`, and `SUPERHERO5`.\n\n---\n\n# Checkout our sample apps\n\n## Swift: \nVisit our [Swift sample app](https://github.com/cometchat/cometchat-sample-app-ios) repo to run the Swift sample app.\n\n---\n\n\n## Help and Support\nFor issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/react-uikit/integration) or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](https://app.cometchat.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcometchat%2Fcalls-sdk-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcometchat%2Fcalls-sdk-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcometchat%2Fcalls-sdk-ios/lists"}