ageRange.*

Type Library
Revision Release 2025.3721
Keywords utf8, UTF-8, Unicode, string
Platforms Android, iOS

Overview

This plugin is still in alpha but is used for getting age range and app approval for the new Apple and Google APIs. Google and Apple are still refining these APIs. This is designed to handle new state laws in Texas and other states for app permission.

Syntax

local ageRange = require("plugin.ageRange")

Functions

ageRange.init()

ageRange.requestAgeRange()

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.ageRange"] =
        {
            publisherId = "com.solar2d"
        },
    },      
}