Skip to main content

react-native-tracker.platformcontextproperty

Home > @snowplow/react-native-tracker > PlatformContextProperty

PlatformContextProperty enum

Signature:
export declare enum PlatformContextProperty 

Enumeration Members

MemberValueDescription
AndroidIdfa"androidIdfa"Advertising identifier on Android. Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.
AppAvailableMemory"appAvailableMemory"Amount of memory in bytes available to the current app. The property is not tracked in the current version of the tracker due to the tracker not being able to access the API, see the issue here: https://github.com/snowplow/snowplow-ios-tracker/issues/772 Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
AppleIdfa"appleIdfa"Advertising identifier on iOS. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
AppleIdfv"appleIdfv"UUID identifier for vendors on iOS. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
AppSetId"appSetId"Android vendor ID scoped to the set of apps published under the same Google Play developer account (see https://developer.android.com/training/articles/app-set-id). Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.
AppSetIdScope"appSetIdScope"Scope of the appSetId. Can be scoped to the app or to a developer account on an app store (all apps from the same developer on the same device will have the same ID). Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.
AvailableStorage"availableStorage"Bytes of storage remaining. Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.
BatteryLevel"batteryLevel"Remaining battery level as an integer percentage of total battery capacity. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
BatteryState"batteryState"Battery state for the device. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
Carrier"carrier"The carrier of the SIM inserted in the device. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
IsPortrait"isPortrait"A Boolean indicating whether the device orientation is portrait (either upright or upside down). Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.
Language"language"System language currently used on the device (ISO 639).
LowPowerMode"lowPowerMode"A Boolean indicating whether Low Power Mode is enabled.
NetworkTechnology"networkTechnology"Radio access technology that the device is using. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
NetworkType"networkType"Type of network the device is connected to. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
PhysicalMemory"physicalMemory"Total physical system memory in bytes. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever.
Resolution"resolution"Screen resolution in pixels. Arrives in the form of WIDTHxHEIGHT (e.g., 1200x900). Doesn't change when device orientation changes. Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.
Scale"scale"Scale factor used to convert logical coordinates to device coordinates of the screen (uses UIScreen.scale on iOS).
SystemAvailableMemory"systemAvailableMemory"Available memory on the system in bytes (Android only). Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.
TotalStorage"totalStorage"Total size of storage in bytes. Note: This is not automatically assigned by the tracker as it may be considered as fingerprinting. You can assign it using the PlatformContextRetriever.