journey.container

Version compatibility

journey.container was introduced in version 4.29.0 of the JourneyApps Container.

Returns information about the container the app is currently running in. Supported fields are:

PropertyDescriptionExample

architecture

Returns the container architecture on Desktop platforms (ie. 32 or 64 bit).

Introduced in version 4.89.9 of the JourneyApps Runtime. Only supported on Desktop platforms.

journey.container.architecture

Returns: "arm64"

Returns null on mobile and web platforms.

bundleId

The Bundle ID of the container.

journey.container.bundleId Defaults: JourneyApps iOS Container: "com.embarkmobile.journey" JourneyApps Android Container: "com.embarkmobile.androidapp"

urlScheme

The URL Scheme of the container.

journey.container.urlScheme Default (all JourneyApps containers): "journeyapps"

version

The version number of the JourneyApps Container that the app is running on as a string. e.g. "4.17.0" "4.26.1"

var version = journey.container.version; if (version == '4.17.0') { dialog("Please update to a new version"); }

Last updated