Skip to content

config

Configuration the script runs with.

Contains information about the configuration the script is currently being run under.

runsInApp

Whether the script is running in the app.

runsInApp: bool

runsInActionExtension

Whether the script is running in the action extension.

runsInActionExtension: bool

runsWithSiri

Whether the script is running with Siri.

runsWithSiri: bool

runsInNotification

Whether the script is running in a notification.

runsInNotification: bool

runsFromHomeScreen

Whether the script was run from the home screen. You can add a script to the home screen from the script settings.

runsFromHomeScreen: bool