Registering the Application

To make the phone recognize your new application, you must register it using the exported function in your client/main.lua.

Icon Background Object
{
    angle = 45,
    colors = { "#FF0000", "#0000FF" }
}

AddApplication

Registers a new application icon on the home screen.

exports['17mov_Phone']:AddApplication(appData)
Property
Type
Description

name

string

Unique identifier for the application.

label

string

The display name shown under the icon.

ui

string

URL to the app's index.html.

icon

string

Path to the icon image.

iconBackground

string | object

The Icon Background Object or HEX VALUE

default

boolean

If true, the app cannot be uninstalled and is preinstalled

preInstalled

boolean

If true, the app is installed by default on new phones.

resourceName

string

The name of your resource

rating

float

Store rating (1-5)

RemoveApplication

exports['17mov_Phone']:RemoveApplication(appName, resourceName)

Last updated