Available Variables

Variable NameDescriptionTypeExample ValuesMinimum SDK Required
app.versionApplication version numberString”1.0.0”Version 1.5.0
app.buildApplication build numberString”123”Version 1.5.0
app.completeAppVersionCombined version and build numberString”1.0.0 (123)“Version 1.5.0
app.appDisplayNameDisplay name of the applicationString”My App”Version 1.5.0
app.heliumSdkVersionCurrent version of the Helium SDKString”1.5.0”Version 1.5.0
locale.currentCountryUser’s current country codeString”US”Version 1.5.0
locale.currentCurrencyUser’s current currency codeString”USD”Version 1.5.0
locale.currentCurrencySymbolCurrency symbol for user’s localeString”$“Version 1.5.0
locale.currentLanguageUser’s language codeString”en”Version 1.5.0
locale.currentTimeZoneUser’s timezone identifierString”America/Los_Angeles”Version 1.5.0
locale.currentTimeZoneNameUser’s timezone nameString”Pacific Standard Time”Version 1.5.0
locale.decimalSeparatorDecimal separator for user’s localeString”.”Version 1.5.0
locale.usesMetricSystemWhether user’s locale uses metric systemBooleantrue/falseVersion 1.5.0
screen.brightnessScreen brightness levelFloat0.5Version 1.5.0
screen.nativeScaleScreen native scale factorFloat3.0Version 1.5.0
screen.scaleScreen scale factorFloat3.0Version 1.5.0
device.currentDeviceIdentifierUnique device identifierString”1234-5678-9ABC-DEF0”Version 1.5.0
device.orientationDevice orientation valueInteger1Version 1.5.0
device.systemNameOperating system nameString”iOS”Version 1.5.0
device.systemVersionOperating system versionString”15.0”Version 1.5.0
device.deviceModelDevice model identifierString”iPhone14,3”Version 1.5.0
device.userInterfaceIdiomDevice interface typeString”phone”Version 1.5.0
datetime.monthCurrent month (1-12)Integer11Version 1.5.0
datetime.dayOfWeekCurrent day of weekString”MONDAY”Version 1.5.0
datetime.dayOfMonthCurrent day of month (1-31)Integer26Version 1.5.0
datetime.hourCurrent hour (0-23)Integer14Version 1.5.0
datetime.minuteCurrent minute (0-59)Integer30Version 1.5.0
products.productIdsList of associated product IDsArray of Strings[“prod_123”, “prod_456”]Version 1.5.0

Usage

You can use these variables in your content using the following syntax:

Hello user from {{locale.currentCountry}}!
Your current time is {{datetime.hour}}:{{datetime.minute}}

The variables will be automatically replaced with their actual values when the content is displayed to the user.

Notes

  • All variables are optional and may return null if the value is not available
  • Time-based variables use the device’s current timezone and locale settings
  • Device-specific variables may vary depending on the device type and operating system version
  • Screen-related variables will update if the device orientation changes