System information that remains constant throughout the lifetime of your app.
Exponent.Constants.appOwnershipReturns exponent, standalone, or guest. If exponent, the experience is running inside of the Exponent client. If standalone, it is a standalone app. If guest, it has been opened through a link from a standalone app.
Exponent.Constants.exponentVersionThe version string of the Exponent client currently running.
Exponent.Constants.deviceIdAn identifier that is unique to this particular device and installation of the Exponent client.
Exponent.Constants.deviceNameA human-readable name for the device type.
Exponent.Constants.deviceYearClassThe device year class of this device.
Exponent.Constants.isDevicetrue if the app is running on a device, false if running in a simulator or emulator.
Exponent.Constants.platform ios
platform
The Apple internal model identifier for this device, e.g. iPhone1,1.
model
The human-readable model name of this device, e.g. iPhone 7 Plus.
userInterfaceIdiom
The user interface idiom of this device, i.e. whether the app is running on an iPhone or an iPad. Current supported values are handset and tablet. Apple TV and CarPlay will show up as unsupported.
Exponent.Constants.sessionIdA string that is unique to the current session of your app. It is different across apps and across multiple launches of the same app.
Exponent.Constants.statusBarHeightThe default status bar height for the device. Does not factor in changes when location tracking is in use or a phone call is active.
Exponent.Constants.systemFontsA list of the system font names available on the current device.
Exponent.Constants.manifestThe manifest object for the app.
Exponent.Constants.linkingUriWhen an app is opened due to a deep link, the prefix of the URI without the deep link part. This value depends on Exponent.Constants.appOwnership: it may be different if your app is running standalone vs. in the Exponent client.
© Copyright 2017, Exponent. Created using Gatsby.