Comment on page
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:
Property | Description | Example |
---|---|---|
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 modified 1yr ago