pasteboard.*

Type Library
Revision Release 2022.3683
Keywords pasteboard, clipboard, copy, paste
Platforms Android, iOS

Overview

The Pasteboard plugin enables you to copy/paste from/to the device's pasteboard.

Syntax

local pasteboard = require( "plugin.pasteboard" )

Functions

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

Support

Sample project

Source code