vungle.*

Type CoronaProvider
Library ads.*
Revision 2016.2873
Keywords ads, advertising, vungle
Platforms Android, iOS

Overview

The Vungle plugin offers easy integration of Vungle video ads using the ads library and ads.init().

Registration

Using Vungle video ads requires a free account — please register before proceeding.

Functions

Project Settings

To use this plugin, add two entries into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

settings =
{
    plugins =
    {
        ["CoronaProvider.ads.vungle"] =
        {
            publisherId = "com.vungle"
        },
        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true }
        },
    },      
}
Note

For Android, the following permissions/features are automatically added when using this plugin:

    android =
    {
        usesPermissions =
        {
            "android.permission.INTERNET",
            "android.permission.WRITE_EXTERNAL_STORAGE",
            "android.permission.ACCESS_NETWORK_STATE",
        },
    },

Support