{"id":27958042,"url":"https://github.com/ericsson/c3-ios-sdk","last_synced_at":"2025-07-21T22:34:15.992Z","repository":{"id":56904121,"uuid":"71565098","full_name":"Ericsson/c3-ios-sdk","owner":"Ericsson","description":"ECCC iOS SDK","archived":false,"fork":false,"pushed_at":"2017-10-25T17:49:35.000Z","size":30143,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-07-11T06:03:14.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://discuss.c3.ericsson.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ericsson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-21T13:03:49.000Z","updated_at":"2018-05-14T08:17:54.000Z","dependencies_parsed_at":"2022-08-21T01:50:52.469Z","dependency_job_id":null,"html_url":"https://github.com/Ericsson/c3-ios-sdk","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/Ericsson/c3-ios-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fc3-ios-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fc3-ios-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fc3-ios-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fc3-ios-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ericsson","download_url":"https://codeload.github.com/Ericsson/c3-ios-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fc3-ios-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266393417,"owners_count":23922376,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-05-07T18:16:00.639Z","updated_at":"2025-07-21T22:34:15.965Z","avatar_url":"https://github.com/Ericsson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ericsson Contextual Communication Cloud iOS SDK\n[![Version](https://img.shields.io/cocoapods/v/C3Lib.svg?style=flat)](https://cocoapods.org/pods/C3Lib)\n[![License](https://img.shields.io/cocoapods/l/C3Lib.svg?style=flat)](https://cocoapods.org/pods/C3Lib)\n[![Platform](https://img.shields.io/cocoapods/p/C3Lib.svg?style=flat)](https://cocoapods.org/pods/C3Lib)\n[![Downloads](https://img.shields.io/cocoapods/dt/C3Lib.svg?style=flat)](https://cocoapods.org/pods/C3Lib)\n[![Apps](https://img.shields.io/cocoapods/at/C3Lib.svg?style=flat)](https://cocoapods.org/pods/C3Lib)\n\nIf you have questions about Ericsson Contextual Communication Cloud, feel free to reach out at https://discuss.c3.ericsson.net/\n\n## Example\n\nTo run the example project, clone the repository, and run `pod install` from the Example directory first.\n\n## Installation\n\nC3Lib is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"C3Lib\"                                                                                                                                                      \n```\n\n## Requirements.\n\nIn order to be able to use the C3Lib framework, you will need to have access to the following prerequisites:\n* [Xcode](https://developer.apple.com/xcode/) \u003e= 8 (you can check which version you have by launching Xcode and selecting `About Xcode` from the Xcode menu)\n* [CocoaPods](http://cocoapods.org) \u003e= 1.0.0 (you can check which version you have by launching the Terminal app and typing `pod --version` in the terminal window\n* iOS \u003e= 8\n\n## Usage\n\nC3Lib framework comes with an introductory document which guides you through the basic use cases. You will find it [here](Documentation/).\n\nThe `Client` is the starting point for every application, and manages state and connection to a server.\n\n```swift\nlet client = Client()\n```\n\nA client is authenticated using a `AuthInfo` object, which can be acquired in different ways. The `Auth` class contains some static methods with common authentication methods. Let's start by logging on to a user that was previously registered using `Auth.register()`.\n\n```swift\nAuth.login(as: \"foo\",\n             password:  \"password123\",\n             serverUrl: \"https://example.com\",\n             success: { authInfo in\n    client.auth(authInfo, success: { client in\n        print(\"Authenticated with user id: \\(client.user!.id)\")\n    }, failure: { error in\n        print(\"Failed to authenticate user: \\(error.localizedDescription)\")\n    })\n}, failure: { error in\n    print(\"Failed to authenticate user: \\(error.localizedDescription)\")\n})\n```\n\nOnce authenticated, we can change our display name and status.\n\n```swift\nclient.setName(\"Test User\", success: { client in\n    client.setStatus(\"Ready to roll\", ...)\n})\n```\nCheck out the full documentation [here](Documentation/).\n\n## Author\n\nEricsson AB\n\n## License\n\nThe C3Lib example is available under the BSD-2 license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Fc3-ios-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericsson%2Fc3-ios-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Fc3-ios-sdk/lists"}