Mediation

Get Started with Unity

Chartboost Core Unity SDK is designed as an entry point to manage and facilitate different modules for your Android/iOS application. Each module can be individually initialized with metrics collected and reported to offer detailed insights into the moduleโ€™s performance and potential issues.

The main functionalities provided by the SDK are:

  • Initialization of individual or a set of modules.
  • Performance metrics collection during the module initialization process.
  • Detailed error tracking and reporting with categorized error codes.
  • Centralized logging system with multiple log levels and output options.

Minimum Supported Development Tools ๐Ÿ”—

Software Version
Minimum Unity Editor Version 2022.3.22 (2022 LTS)
Recommended Android Gradle Plugin Version 8.2
Recommended Kotlin Version 1.9.21
Recommended Java Version 17
Minimum Swift Version 5.0

Add the Core SDK to your project ๐Ÿ”—

Using the public npm registry ๐Ÿ”—

In order to add the Chartboost Core Unity SDK 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.

"dependencies": {
    "com.chartboost.core": "1.0.0",
    ...
},
"scopedRegistries": [
{
    "name": "NpmJS",
    "url": "https://registry.npmjs.org",
    "scopes": [
    "com.chartboost"
    ]
}
]

Using the Public Nuget Package ๐Ÿ”—

To add the Chartboost Core Unity SDK to your project using the NuGet package, you will first need to add the NugetForUnity package into your Unity Project.

This can be done by adding the following to your Unity Projectโ€™s manifest.json.

  "dependencies": {
    "com.github-glitchenzo.nugetforunity": "https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity",
    ...
  },

Once NugetForUnity is installed, search for Chartboost.CSharp.Core.Unity in the search bar of Nuget Explorer window (Nuget > Manage Nuget Packages).

You should be able to see the Chartboost.CSharp.Core.Unity package. Choose the appropriate version and install.

Additional Resources ๐Ÿ”—

โ†— Open Source
โ†— SDK API Reference