com.chartboost.mediation

4.9.0 • Public • Published

Chartboost Mediation Unity SDK

Chartboost Mediation Unity SDK

Summary

Chartboost Mediation Unity SDK provides support for Unity based games to easily integrate the Chartboost Mediation for Android & iOS platforms. This guide will contain step by step instructions on how to integrate the SDK, as well as recommended practices to make best use of all the features offered by the Chartboost Mediation SDK.

Minimum Supporter Development Tools

Software Version
XCode 14.1
Android Studio 2020.3.1+
iOS 11.0+
Minimum Android API Level 5.1+ (API level 22)
Target Android API Level 13.0+ (API level 33)
Minimum Unity Version 2020.3.37f1

CHANGELOG

Visit the CHANGELOG to reference changes to each version of the Chartboost Mediation Unity SDK.

Integrating the Chartboost Mediation Unity SDK

Chartboost Mediation Unity SDK is distributed using both NPM and NuGet distribution.

To install this sdk using either of these distribution channels follow the steps below :

Using the public npm registry

In order to add the Chartboost Mediation 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.mediation": "4.8.0",
    ...
  },
  "scopedRegistries": [
    {
      "name": "NpmJS",
      "url": "https://registry.npmjs.org",
      "scopes": [
        "com.chartboost"
      ]
    }
  ]

Using the public nuget package

To add the Chartboost Mediation Unity 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.Mediation.Unity" in the search bar of Nuget Explorer window(Nuget -> Manage Nuget Packages). You should be able to see the Chartboost.CSharp.Mediation.Unity package. Choose the appropriate version and install.

In order to better understand the Chartboost Mediation Unity SDK, documentation has been split between Setup and Integration Steps:

Setup

  1. Ad Network Adapters
  2. Android Manifest
  3. Google External Dependency Manager (EDM)
  4. Multidex
  5. Chartboost Mediation Settings

Integration

  1. Initialization
  2. Configure Chartboost Mediation
  3. Loading Ads
  4. Showing Ads
  5. Delegate Usage
  6. Error Codes
  7. Unit Testing

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i com.chartboost.mediation

    Weekly Downloads

    383

    Version

    4.9.0

    License

    none

    Unpacked Size

    4.91 MB

    Total Files

    1027

    Last publish

    Collaborators

    • helium-service