{"id":25936866,"url":"https://github.com/chartboost/chartboost-core-unity-consent-adapter-google-user-messaging-platform","last_synced_at":"2026-05-14T07:35:28.383Z","repository":{"id":251266294,"uuid":"756594273","full_name":"ChartBoost/chartboost-core-unity-consent-adapter-google-user-messaging-platform","owner":"ChartBoost","description":"The Chartboost Core - Google User Messaging Platform Adapter mediates the Google User Messaging Platform via the Chartboost Core SDK.","archived":false,"fork":false,"pushed_at":"2025-11-17T20:57:54.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-07T05:19:12.347Z","etag":null,"topics":["chartboost","core","csharp","google","google-user-messaging-platform","unity"],"latest_commit_sha":null,"homepage":"https://www.chartboost.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChartBoost.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2024-02-12T23:01:36.000Z","updated_at":"2025-11-17T20:57:57.000Z","dependencies_parsed_at":"2025-07-21T22:16:35.751Z","dependency_job_id":"860b0930-3c82-40d1-8ab4-e4f24b4ef9d3","html_url":"https://github.com/ChartBoost/chartboost-core-unity-consent-adapter-google-user-messaging-platform","commit_stats":null,"previous_names":["chartboost/chartboost-core-unity-consent-adapter-google-user-messaging-platform"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ChartBoost/chartboost-core-unity-consent-adapter-google-user-messaging-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChartBoost","download_url":"https://codeload.github.com/ChartBoost/chartboost-core-unity-consent-adapter-google-user-messaging-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33015540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["chartboost","core","csharp","google","google-user-messaging-platform","unity"],"created_at":"2025-03-04T02:54:56.601Z","updated_at":"2026-05-14T07:35:28.378Z","avatar_url":"https://github.com/ChartBoost.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chartboost Core - Google User Messaging Platform Adapter\n\nThe Chartboost Core - Google User Messaging Platform Adapter mediates [Google User Messaging Platform - Android](https://developers.google.com/admob/android/privacy) and [Google User Messaging Platform - iOS](https://developers.google.com/admob/ios/privacy) via the Chartboost Core SDK.\n\n## Minimum Requirements\n\n| Plugin | Version |\n| ------ | ------ |\n| Cocoapods | 1.11.3+ |\n| iOS | 11.0+ |\n| Xcode | 14.1+ |\n| Android API | 21+ |\n| Unity | 2022.3.+ |\n\n\n## Integration\n\nChartboost Core - Google User Messaging Platform Adapter is distributed using the public [npm registry](https://www.npmjs.com/search?q=com.chartboost.core.consent.google-user-messaging-platform) as such it is compatible with the Unity Package Manager (UPM). In order to add the Chartboost Core - Google User Messaging Platform Adapter to your project, just add the following to your Unity Project's ***manifest.json*** file. The scoped registry section is required in order to fetch packages from the NpmJS registry.\n\n```json\n  \"dependencies\": {\n    \"com.chartboost.core.consent.google-user-messaging-platform\": \"1.2.0\",\n    ...\n  },\n  \"scopedRegistries\": [\n    {\n      \"name\": \"NpmJS\",\n      \"url\": \"https://registry.npmjs.org\",\n      \"scopes\": [\n        \"com.chartboost\"\n      ]\n    }\n  ]\n```\n\n## Using the public [NuGet package](https://www.nuget.org/packages/Chartboost.CSharp.Core.Unity.Consent.GoogleUserMessagingPlatform)\n\nTo add the Chartboost Core Unity SDK to your project using the NuGet package, you will first need to add the [NugetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) package into your Unity Project.\n\nThis can be done by adding the following to your Unity Project's ***manifest.json***\n\n```json\n  \"dependencies\": {\n    \"com.github-glitchenzo.nugetforunity\": \"https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity\",\n    ...\n  },\n```\n\nOnce \u003ccode\u003eNugetForUnity\u003c/code\u003e is installed, search for `Chartboost.CSharp.Core.Unity.Consent.GoogleUserMessagingPlatform` in the search bar of Nuget Explorer window(Nuget -\u003e Manage Nuget Packages).\nYou should be able to see the `Chartboost.CSharp.Core.Unity.Consent.GoogleUserMessagingPlatform` package. Choose the appropriate version and install.\n\n# Usage\n\n## Client Module\nIn order to use the `GoogleUserMessagingPlatformAdapter`, a client instance can be passed along with the `ChartboostCore.Initialize` call as seen in the example below:\n\n```csharp\nstring chartboostApplicationIdentifier = \"CHARTBOOST_APPLICATION_IDENTIFIER\";\n\nList\u003cModule\u003e modulesToInitialize = new List\u003cModule\u003e();\n\nvar googleUserMessagingPlatform = new GoogleUserMessagingPlatformAdapter();\n\nmodulesToInitialize.Add(googleUserMessagingPlatform);\n\nSDKConfiguration sdkConfig = new SDKConfiguration(chartboostApplicationIdentifier, modulesToInitialize);\n\n// Initialize Chartboost Core and Google User Messaging Platform.\nChartboostCore.Initialize(sdkConfig);\n```\n\n## ConsentDebugSettings\n\n### DebugGeography\n\nProvides a way to test your app's behavior as though the device was located in the EEA or UK. Note that debug settings only work on test devices.\n\n```csharp\n// Disabled\nConsentDebugSettings consentDebugSettings = new ConsentDebugSettings(DebugGeography.Disabled, null);\n\n// Geography appears as in EEA for debug devices.\nConsentDebugSettings consentDebugSettings = new ConsentDebugSettings(DebugGeography.EEA, null);\n\n// Geography appears as in Not EEA for debug devices.\nConsentDebugSettings consentDebugSettings = new ConsentDebugSettings(DebugGeography.NotEEA, null);\n\nGoogleUserMessagingPlatformAdapter googleUserMessagingPlatform = new GoogleUserMessagingPlatformAdapter(consentDebugSettings);\n```\n\n### TestDeviceIdentifiers\n\nCheck the log output for a message containing the set device identifier, then set through this field.\n\n```csharp\nConsentDebugSettings consentDebugSettings = new ConsentDebugSettings(DebugGeography.Disabled, new {\"TEST-DEVICE-HASHED-ID\"});\n\nGoogleUserMessagingPlatformAdapter googleUserMessagingPlatform = new GoogleUserMessagingPlatformAdapter(consentDebugSettings);\n```\n\n# Chartboost - Google Utilities for AndroidManifest.xml \u0026 Info.plist\nIn order for the Google User Messaging Platform to initialize the `application ID` must be added to the `AndroidManifest.xml` \u0026 `Info.plist`. Chartboost provides this functionality through its dependency package for Google adapters. \n\nSimply click on the Editor menu: `Chartboost/Google/Configure` and set your `application ID` as needed. This configuration is shared for all Google packages possibly integrated, e.g: Google User Messaging Platform, AdMob, Google Bidding, etc.\n\n# Contributions\n\nWe are committed to a fully transparent development process and highly appreciate any contributions. Our team regularly monitors and investigates all submissions for the inclusion in our official adapter releases.\n\nRefer to our [CONTRIBUTING](CONTRIBUTING.md) file for more information on how to contribute.\n\n# License\n\nRefer to our [LICENSE](LICENSE.md) file for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartboost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchartboost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartboost%2Fchartboost-core-unity-consent-adapter-google-user-messaging-platform/lists"}