hashcube / ironsource

ironsource mediation sdk for gameclosure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game Closure DevKit Module: Ironsource / ironSource

This module allows you to display interstitial, video ads and offerwalls from the Ironsource mediation service.

Both iOS and Android targets are supported.

Installation

Install the module into your application using the standard devkit install process.

devkit install https://github.com/hashcube/ironsource

Setup

Setup ironsource by configuring the ironsourceApp key in manifest.json. The ironsourceAppKey can be fetched from the Ironsource/ironsource dashboard

Manifest.json

  "android": {
    "ironsourceAppKey": "key",
  },
  "ios": {
    "ironsourceAppKey": "key",
  },

You must add all of the providers you wish to bundle with your application to the addons.ironsource.<PLATFORM>.providers lists or they will not be included in the build and you will not be able to use them in your game.

"addons": {
    "ironsource": {
        "android": {
            "providers": [
                "chartboost",
                "facebook",
                "vungle"
            ]
        },
        "ios": {
            "providers": [
                "adcolony",
                "applovin",
                "facebook"
            ]
        }
    }
}

See the Pre-Integrated Providers section below for a list of working providers you can add to these list.

Pre-Integrated Providers

The plugin comes with several ad providers already available in order to make using the plugin as easy as possible.

Adding one of the included providers is usually as easy as adding the provider name to the manifest addons.ironsource.[platform].providers list and adding any necessary SDK keys. The ironsource module will use the providers list to automatically create all of your configuration

To use any of these, in the game please add it the addons block in manifest.json as mentioned before.

Integrating Additional Providers

To integrate additional providers supportd by ironsource, you'll need to manually add all of the files and configuration to the correct locations in the build/providers/<provider_name> folder.

EXTREMELY IMPORTANT - the auto-configuration being done for providers means the standard android and ios folders are deleted before build every time and created as necessary. DO NOT PUT FILES YOU NEED IN THESE FOLDERS (or check out a previous version of the plugin).

You will likely need a combination of config.json, manifest.xml, manifest.xsl, and various file changes to create a working integration. Follow the existing integrations as a guide.

About

ironsource mediation sdk for gameclosure


Languages

Language:Objective-C 89.1%Language:C 5.8%Language:JavaScript 2.3%Language:Java 1.7%Language:Objective-C++ 1.0%Language:XSLT 0.1%