{"id":18426119,"url":"https://github.com/clevertap/clevertap-unity-sdk","last_synced_at":"2025-04-07T16:32:20.035Z","repository":{"id":43888800,"uuid":"71682115","full_name":"CleverTap/clevertap-unity-sdk","owner":"CleverTap","description":"Unity iOS/Android Plugin for the CleverTap SDK","archived":false,"fork":false,"pushed_at":"2025-03-27T15:27:56.000Z","size":1183625,"stargazers_count":8,"open_issues_count":2,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-27T15:30:06.795Z","etag":null,"topics":["analytics","clevertap","clevertap-unity-sdk","engagement","unity-sdk","user-retention"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CleverTap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2016-10-23T04:43:10.000Z","updated_at":"2025-03-20T17:37:42.000Z","dependencies_parsed_at":"2024-04-24T08:55:21.055Z","dependency_job_id":"f3afcb15-c5a9-4272-bdc8-7cfe920afa4e","html_url":"https://github.com/CleverTap/clevertap-unity-sdk","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-unity-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-unity-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-unity-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleverTap%2Fclevertap-unity-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleverTap","download_url":"https://codeload.github.com/CleverTap/clevertap-unity-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247688081,"owners_count":20979601,"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":["analytics","clevertap","clevertap-unity-sdk","engagement","unity-sdk","user-retention"],"created_at":"2024-11-06T05:06:57.751Z","updated_at":"2025-04-07T16:32:20.022Z","avatar_url":"https://github.com/CleverTap.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/CleverTap/clevertap-ios-sdk/blob/master/docs/images/clevertap-logo.png\" width=\"50%\"/\u003e\n\u003c/p\u003e\n\n\n# CleverTap Unity Plugin\n[![codebeat badge](https://codebeat.co/badges/f66e4e0c-4989-4caa-b0ec-ee405c30cb4d)](https://codebeat.co/projects/github-com-clevertap-clevertap-unity-sdk-master)\n\u003ca href=\"https://github.com/CleverTap/clevertap-unity-sdk/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/release/CleverTap/clevertap-unity-sdk.svg\" /\u003e\n\u003c/a\u003e\n\n## 👋 Introduction\n\nThe CleverTap Unity Plugin for Mobile Customer Engagement and Analytics solutions.\n\nFor more information check out our [website](https://clevertap.com/ \"CleverTap\")  and  [documentation](https://developer.clevertap.com/docs/ \"CleverTap Technical Documentation\").\n\nTo get started, sign up [here](https://clevertap.com/live-product-demo/).\n\n## 🛠 Installation and Setup #\n\nYou can install the CleverTap Unity SDK using the `.unitypackage` Unity package or as a local package through Unity Package Manager (UPM).\n\n### Import the CleverTap Unity Package\n\n1. Download the latest version of the CleverTap Unity package. Import the `.unitypackage` into your Unity Project. **Go to Assets** \u003e **Import Package** \u003e **Custom Package**. \n2. Add the **PlayServiceResolver** and the **ExternalDependencyManager** folders. These folders will install the **EDM4U** plugin, which automatically adds all the Android and iOS dependencies when building your project.\n3. Ensure that the scripts inside the `Editor` folder are added. The `AndroidPostImport` script sets up `clevertap-android-wrapper` library for Android. `IOSPostBuildProcessor` and `AndroidProjectPostProcessor` scripts helps iOS and Android setup.\n\n### Import the CleverTap Unity Package as a Local Dependency\n\nClone the latest release version of CleverTap Unity SDK. The SDK can be imported as a local package through the Unity Package Manager.\n\n### Set Up the Unity SDK\n\nCleverTap API can be accessed anywhere in your project by simply calling the static `CleverTap` class. _No_ need to create `GameObject` or attach _any_ script. The SDK handles the following: \n\n- Instantiation of platform-specific binding (iOS, Android, Native)\n- Creation of `GameObject`\n- Script attachment.\n\nUse the Unity Editor CleverTap Settings dialog (_Assets -\u003e CleverTap Settings_) to automatically set your account configuration for iOS and Android builds.\n\nYou can view your `CleverTap Account ID` and `CleverTap Account Token` from the _CleverTap Dashboard -\u003e Settings_.\n\nFor Unity Native builds initialize the SDK with the following code:\n```csharp\n// Initialize CleverTap\nCleverTap.LaunchWithCredentialsForRegion({YOUR_CLEVERTAP_ACCOUNT_ID}, {YOUR_CLEVERTAP_ACCOUNT_TOKEN}, {CLEVERTAP_ACCOUNT_REGION});\n```\n\n#### Callbacks\n\nAdd an event listener for a callback directly through the `CleverTap` static events.\n\n```csharp\nCleverTap.OnCleverTapDeepLinkCallback += YOUR_CALLBACK_METHOD;  \nCleverTap.OnCleverTapProfileInitializedCallback += YOUR_CALLBACK_METHOD;  \nCleverTap.OnCleverTapInAppNotificationButtonTapped += YOUR_CALLBACK_METHOD;\n```\n\n### iOS Instructions\n\niOS specific setup is described in the [iOS Instructions](/docs/Instructions-iOS.md)\n\n### Android Instructions\n\nAndroid specific setup is described in the [Android Instructions](/docs/Instructions-Android.md)\n\n### WebGL Instructions\n\nWebGL specific setup is described in the [WebGL Instructions](/docs/Instructions-WebGL.md)\n\n## 💻 Example Usage #\n\n- [See the CleverTap Unity Usage Documentation](/docs/Usage.md)\n\n## 🆕 Changelog #\n\nCheck out the CleverTap Unity plugin SDK [Change Log](/CHANGELOG.md) here.\n\n## ⁉️ Questions? #\n\n If you have questions or concerns, you can reach out to the CleverTap support team from the CleverTap Dashboard. \n \n**TroubleShooting Guide:** Please refer [here](docs/Troubleshooting.md) if you are facing common integration issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevertap%2Fclevertap-unity-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclevertap%2Fclevertap-unity-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclevertap%2Fclevertap-unity-sdk/lists"}