kidoz.*

Type Library
Revision Release 2024.3703
Keywords ads, advertising, KIDOZ
Platforms Android, iOS

Overview

KIDOZ is a child-friendly content discovery platform, allowing you to boost app revenue and engagement without compromising on user experience and fun. Unique features include:

Note

FeedView type ads were deprecated in plugin version 1.4.2 (KIDOZ sdk version 0.8.3.2) and are no longer available.

FlexiView and VideoUnit type ads were deprecated in plugin version 1.4.5 (KIDOZ sdk version 0.8.5.1) and are no longer available.

Registration

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

Syntax

local kidoz = require( "plugin.kidoz" )

Functions

kidoz.init()

kidoz.load()

kidoz.show()

kidoz.hide()

kidoz.isLoaded()

Events

adsRequest

Project Settings

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

settings =
{
    plugins =
    {
        ["plugin.kidoz"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}

In addition, please add the following entry to the settingsandroid table of build.settings to prevent your app from being installed on incompatible Android devices.

settings =
{
    android =
    {
        minSdkVersion = "17",
    },
}
Note

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

  • "android.permission.INTERNET"
  • "android.permission.WRITE_EXTERNAL_STORAGE"