For the complete documentation index, see llms.txt. This page is also available as Markdown.

Environment

Provides environment information such as the device, app, deployment, network, and server time on which the mini app is running.

API List

API
Description
Details

Environment.deviceId

This is the device's unique identifier.

deviceId

Environment.groupId

This is the Apps in Toss group ID.

groupId

Environment.environment

Operating environment(Toss/sandbox) information.

environment

Environment.tossAppVersion

This is the Toss app version information.

tossAppVersion

Environment.deploymentId

This is the current deployment ID.

deploymentId

Environment.initialURL

This is the scheme URL used when first entering the app.

initialURL

getAppsInTossGlobals

Gets the Apps in Toss global values injected by the host.

getAppsInTossGlobals

Environment.getNetworkStatus

Gets the device's current network connection status.

getNetworkStatus

Environment.getServerTime

Gets the current time of the Toss app server as a Unix timestamp (ms).

getServerTime

Environment.isMinVersionSupported

Checks whether the current Toss app version is at or above the minimum supported version for each platform.

isMinVersionSupported

Was this helpful?