<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/react-native-tracker](./react-native-tracker.md) &gt; [PlatformContextConfiguration](./react-native-tracker.platformcontextconfiguration.md)

## PlatformContextConfiguration interface

<b>Signature:</b>

```typescript
export interface PlatformContextConfiguration 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [platformContext?](./react-native-tracker.platformcontextconfiguration.platformcontext.md) | boolean | <i>(Optional)</i> Whether to track the mobile context with information about the device. Note: Only some properties (osType, osVersion, deviceManufacturer, deviceModel, resolution, language, scale) will be tracked by default. Other properties can be assigned using the PlatformContextRetriever. |
|  [platformContextProperties?](./react-native-tracker.platformcontextconfiguration.platformcontextproperties.md) | [PlatformContextProperty](./react-native-tracker.platformcontextproperty.md)<!-- -->\[\] | <i>(Optional)</i> List of properties of the platform context to track. If not passed and <code>platformContext</code> is enabled, all available properties will be tracked. The required <code>osType</code>, <code>osVersion</code>, <code>deviceManufacturer</code>, and <code>deviceModel</code> properties will be tracked in the entity regardless of this setting. |
|  [platformContextRetriever?](./react-native-tracker.platformcontextconfiguration.platformcontextretriever.md) | [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) | <i>(Optional)</i> Set of callbacks to be used to retrieve properties of the platform context. Overrides the tracker implementation for setting the properties. |

