logo

UUID Plugin

RFC 4122-compliant v5 UUID generator for your Corona games and applications.

The UUID plugin allows you to generate universally unique identifiers. Includes special methods for saving and loading UUIDs on the device, as well as, creating batches.


Get the Plugin

If you don't already have it, get the UUID plugin from the Corona Marketplace.


Add the Plugin

Add the plugin by adding an entry to the plugins table of build.settings file:

settings =
{
    plugins =
    {
        ["plugin.uuid"] =
        {
            publisherId = "com.develephant"
        },
    },
}

Require the Plugin

local UUID = require("plugin.uuid")

You're all set to go! Have a look at the API documentation to start working with the plugin.