superawesome.*

Type Library
Revision 2017.3060
Keywords ads, advertising, SuperAwesome
Platforms Android, iOS

Overview

The SuperAwesome plugin allows developers to monetize their mobile app with SuperAwesome banner, static interstitial, and video interstitial ads.

Registration

Before you can use this plugin, you must register with SuperAwesome.

Syntax

local superawesome = require( "plugin.superawesome" )

Functions

Events

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 =
    {
        ["plugin.superawesome"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}
Note

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

  • "android.permission.INTERNET"
  • "android.permission.ACCESS_NETWORK_STATE"
Note

On devices running Android 6.0 and higher, this plugin requires the STORAGE permission group to be granted at runtime for caching of video ads. If the permission is not granted, the app will stream video content instead of preloading/caching it. To request permissions at runtime, please see here.

Support