{"id":25610470,"url":"https://github.com/chartboost/chartboost-mediation-unity-adapter-hyprmx","last_synced_at":"2026-05-04T20:33:55.479Z","repository":{"id":252286030,"uuid":"790350912","full_name":"ChartBoost/chartboost-mediation-unity-adapter-hyprmx","owner":"ChartBoost","description":"The Chartboost Mediation Unity SDK Adapter for HyprMX.","archived":false,"fork":false,"pushed_at":"2024-08-08T20:43:31.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T13:02:14.442Z","etag":null,"topics":["android","chartboost","csharp","hyprmx","ios","mediation","unity"],"latest_commit_sha":null,"homepage":"https://www.chartboost.com/mediate","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":null,"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}},"created_at":"2024-04-22T18:09:45.000Z","updated_at":"2024-08-08T20:47:41.000Z","dependencies_parsed_at":"2024-08-08T20:57:40.003Z","dependency_job_id":"7a47aad8-579c-48b6-8236-3857faeda370","html_url":"https://github.com/ChartBoost/chartboost-mediation-unity-adapter-hyprmx","commit_stats":null,"previous_names":["chartboost/chartboost-mediation-unity-adapter-hyprmx"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ChartBoost/chartboost-mediation-unity-adapter-hyprmx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-hyprmx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-hyprmx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-hyprmx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-hyprmx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChartBoost","download_url":"https://codeload.github.com/ChartBoost/chartboost-mediation-unity-adapter-hyprmx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-hyprmx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266165653,"owners_count":23886654,"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":["android","chartboost","csharp","hyprmx","ios","mediation","unity"],"created_at":"2025-02-21T22:22:08.390Z","updated_at":"2026-05-04T20:33:53.369Z","avatar_url":"https://github.com/ChartBoost.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chartboost Mediation Unity SDK - HyprMX Adapter\r\n\r\nProvides a list of externally configurable properties pertaining to the partner SDK that can be retrieved and set by publishers. \r\n\r\nDependencies for the adapter are now embedded in the package, and can be found at `com.chartboost.mediation.unity.adapter.hyprmx/Editor/HyprMXAdapterDependencies.xml`.\r\n\r\n# Installation\r\n\r\n## Using the public [npm registry](https://www.npmjs.com/search?q=com.chartboost.mediation.unity.adapter.hyprmx)\r\n\r\nIn order to add the Chartboost Mediation Unity SDK - HyprMX Adapter to your project using the npm package, 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.\r\n\r\n```json\r\n\"dependencies\": {\r\n    \"com.chartboost.mediation.unity.adapter.hyprmx\": \"5.0.0\",\r\n    ...\r\n},\r\n\"scopedRegistries\": [\r\n{\r\n    \"name\": \"NpmJS\",\r\n    \"url\": \"https://registry.npmjs.org\",\r\n    \"scopes\": [\r\n    \"com.chartboost\"\r\n    ]\r\n}\r\n]\r\n```\r\n## Using the public [NuGet package](https://www.nuget.org/packages/Chartboost.CSharp.Mediation.Unity.Adapter.HyprMX)\r\n\r\nTo add the Chartboost Mediation Unity SDK - HyprMX Adapter 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.\r\n\r\nThis can be done by adding the following to your Unity Project's ***manifest.json***\r\n\r\n```json\r\n  \"dependencies\": {\r\n    \"com.github-glitchenzo.nugetforunity\": \"https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity\",\r\n    ...\r\n  },\r\n```\r\n\r\nOnce \u003ccode\u003eNugetForUnity\u003c/code\u003e is installed, search for `Chartboost.CSharp.Mediation.Unity.Adapter.HyprMX` in the search bar of Nuget Explorer window(Nuget -\u003e Manage Nuget Packages).\r\nYou should be able to see the `Chartboost.CSharp.Mediation.Unity.Adapter.HyprMX` package. Choose the appropriate version and install.\r\n\r\n# Application Transport Security\r\nHprMX recommends that [ATS](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW60) (App Transport Security) settings are turned off as Apple has put on hold their efforts to enforce the policy. In order to do so, add the App Transport Security dictionary key below to your `Info.plist`.\r\n\r\n```xml\r\n\u003ckey\u003eNSAppTransportSecurity\u003c/key\u003e\r\n\u003cdict\u003e\r\n    \u003ckey\u003eNSAllowsArbitraryLoads\u003c/key\u003e\r\n    \u003ctrue/\u003e\r\n\u003c/dict\u003e   \r\n```\r\n\r\nIf you prefer to enable ATS, you must add the three App Transport Security dictionary keys below to your Info.plist to ensure that HyprMX operates properly.\r\n\r\n```xml\r\n\u003ckey\u003eNSAppTransportSecurity\u003c/key\u003e\r\n\u003cdict\u003e\r\n    \u003ckey\u003eNSAllowsArbitraryLoads\u003c/key\u003e\r\n    \u003ctrue/\u003e\r\n    \u003ckey\u003eNSAllowsArbitraryLoadsForMedia\u003c/key\u003e\r\n    \u003ctrue/\u003e\r\n    \u003ckey\u003eNSAllowsArbitraryLoadsInWebContent\u003c/key\u003e\r\n    \u003ctrue/\u003e\r\n\u003c/dict\u003e \r\n```\r\n\r\n# Usage\r\nThe following code block exemplifies usage of the `HyprMXAdapter.cs` configuration class.\r\n\r\n## IPartnerAdapterConfiguration Properties\r\n\r\n```csharp\r\n\r\n// AdapterUnityVersion - The partner adapter Unity version, e.g: 5.0.0\r\nDebug.Log($\"Adapter Unity Version: {HyprMXAdapter.AdapterUnityVersion}\");\r\n\r\n// AdapterNativeVersion - The partner adapter version, e.g: 5.6.4.1.0\r\nDebug.Log($\"Adapter Native Version: {HyprMXAdapter.AdapterNativeVersion}\");\r\n\r\n// PartnerSDKVersion - The partner SDK version, e.g: 6.4.1\r\nDebug.Log($\"Partner SDK Version: {HyprMXAdapter.PartnerSDKVersion}\");\r\n\r\n// PartnerIdentifier - The partner ID for internal uses, e.g: hyprmx\r\nDebug.Log($\"Partner Identifier: {HyprMXAdapter.PartnerIdentifier}\");\r\n\r\n// PartnerDisplayName - The partner name for external uses, e.g: HyprMX\r\nDebug.Log($\"Partner Display Name: {HyprMXAdapter.PartnerDisplayName}\");\r\n```\r\n\r\n## Verbose Logging\r\nTo enable verbose logging for the HyprMX adapter, the following property has been made available:\r\n\r\n```csharp\r\nHyprMXAdapter.VerboseLogging = true;\r\n```\r\n\r\n## Set Consent Status Override\r\nUse to manually set the consent status on the HyprMX SDK. This is generally unnecessary as the Mediation SDK will set the consent status automatically based on the latest consent info.\r\n\r\n\r\n```csharp\r\n// Given\r\nHyprMXAdapter.SetConsentStatusOverride(HyprMXConsentStatus.ConsentGiven);\r\n\r\n// Declined\r\nHyprMXAdapter.SetConsentStatusOverride(HyprMXConsentStatus.ConsentDeclined);\r\n\r\n// Unknown\r\nHyprMXAdapter.SetConsentStatusOverride(HyprMXConsentStatus.ConsentDeclined);\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartboost%2Fchartboost-mediation-unity-adapter-hyprmx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchartboost%2Fchartboost-mediation-unity-adapter-hyprmx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartboost%2Fchartboost-mediation-unity-adapter-hyprmx/lists"}