-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a platform context plugin to the React Native tracker to track de…
…vice information
- Loading branch information
1 parent
0a00be2
commit 584a62b
Showing
41 changed files
with
1,335 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ct-native-tracker/markdown/react-native-tracker.platformcontextconfiguration.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [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. | | ||
|
13 changes: 13 additions & 0 deletions
13
...r/markdown/react-native-tracker.platformcontextconfiguration.platformcontext.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextConfiguration](./react-native-tracker.platformcontextconfiguration.md) > [platformContext](./react-native-tracker.platformcontextconfiguration.platformcontext.md) | ||
|
||
## PlatformContextConfiguration.platformContext property | ||
|
||
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. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
platformContext?: boolean; | ||
``` |
13 changes: 13 additions & 0 deletions
13
.../react-native-tracker.platformcontextconfiguration.platformcontextproperties.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextConfiguration](./react-native-tracker.platformcontextconfiguration.md) > [platformContextProperties](./react-native-tracker.platformcontextconfiguration.platformcontextproperties.md) | ||
|
||
## PlatformContextConfiguration.platformContextProperties property | ||
|
||
List of properties of the platform context to track. If not passed and `platformContext` is enabled, all available properties will be tracked. The required `osType`<!-- -->, `osVersion`<!-- -->, `deviceManufacturer`<!-- -->, and `deviceModel` properties will be tracked in the entity regardless of this setting. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
platformContextProperties?: PlatformContextProperty[]; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...n/react-native-tracker.platformcontextconfiguration.platformcontextretriever.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextConfiguration](./react-native-tracker.platformcontextconfiguration.md) > [platformContextRetriever](./react-native-tracker.platformcontextconfiguration.platformcontextretriever.md) | ||
|
||
## PlatformContextConfiguration.platformContextRetriever property | ||
|
||
Set of callbacks to be used to retrieve properties of the platform context. Overrides the tracker implementation for setting the properties. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
platformContextRetriever?: PlatformContextRetriever; | ||
``` |
37 changes: 37 additions & 0 deletions
37
...s/react-native-tracker/markdown/react-native-tracker.platformcontextproperty.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextProperty](./react-native-tracker.platformcontextproperty.md) | ||
|
||
## PlatformContextProperty enum | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare enum PlatformContextProperty | ||
``` | ||
|
||
## Enumeration Members | ||
|
||
| Member | Value | Description | | ||
| --- | --- | --- | | ||
| AndroidIdfa | <code>"androidIdfa"</code> | 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 | <code>"appAvailableMemory"</code> | 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 | <code>"appleIdfa"</code> | Advertising identifier on iOS. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever. | | ||
| AppleIdfv | <code>"appleIdfv"</code> | UUID identifier for vendors on iOS. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever. | | ||
| AppSetId | <code>"appSetId"</code> | 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 | <code>"appSetIdScope"</code> | Scope of the <code>appSetId</code>. 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 | <code>"availableStorage"</code> | 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 | <code>"batteryLevel"</code> | 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 | <code>"batteryState"</code> | Battery state for the device. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever. | | ||
| Carrier | <code>"carrier"</code> | The carrier of the SIM inserted in the device. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever. | | ||
| IsPortrait | <code>"isPortrait"</code> | 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 | <code>"language"</code> | System language currently used on the device (ISO 639). | | ||
| LowPowerMode | <code>"lowPowerMode"</code> | A Boolean indicating whether Low Power Mode is enabled. | | ||
| NetworkTechnology | <code>"networkTechnology"</code> | Radio access technology that the device is using. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever. | | ||
| NetworkType | <code>"networkType"</code> | Type of network the device is connected to. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever. | | ||
| PhysicalMemory | <code>"physicalMemory"</code> | Total physical system memory in bytes. Note: this property is not automatically assigned but can be assigned using the PlatformContextRetriever. | | ||
| Resolution | <code>"resolution"</code> | 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 | <code>"scale"</code> | Scale factor used to convert logical coordinates to device coordinates of the screen (uses UIScreen.scale on iOS). | | ||
| SystemAvailableMemory | <code>"systemAvailableMemory"</code> | 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 | <code>"totalStorage"</code> | 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. | | ||
|
13 changes: 13 additions & 0 deletions
13
...racker/markdown/react-native-tracker.platformcontextretriever.getandroididfa.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getAndroidIdfa](./react-native-tracker.platformcontextretriever.getandroididfa.md) | ||
|
||
## PlatformContextRetriever.getAndroidIdfa property | ||
|
||
Advertising identifier on Android. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getAndroidIdfa?: () => Promise<string | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...markdown/react-native-tracker.platformcontextretriever.getappavailablememory.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getAppAvailableMemory](./react-native-tracker.platformcontextretriever.getappavailablememory.md) | ||
|
||
## PlatformContextRetriever.getAppAvailableMemory property | ||
|
||
Amount of memory in bytes available to the current app | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getAppAvailableMemory?: () => Promise<number | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...-tracker/markdown/react-native-tracker.platformcontextretriever.getappleidfa.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getAppleIdfa](./react-native-tracker.platformcontextretriever.getappleidfa.md) | ||
|
||
## PlatformContextRetriever.getAppleIdfa property | ||
|
||
Advertising identifier on iOS (UUID formatted string) | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getAppleIdfa?: () => Promise<string | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...-tracker/markdown/react-native-tracker.platformcontextretriever.getappleidfv.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getAppleIdfv](./react-native-tracker.platformcontextretriever.getappleidfv.md) | ||
|
||
## PlatformContextRetriever.getAppleIdfv property | ||
|
||
UUID identifier for vendors on iOS | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getAppleIdfv?: () => Promise<string | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...e-tracker/markdown/react-native-tracker.platformcontextretriever.getappsetid.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getAppSetId](./react-native-tracker.platformcontextretriever.getappsetid.md) | ||
|
||
## PlatformContextRetriever.getAppSetId property | ||
|
||
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). | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getAppSetId?: () => Promise<string | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...cker/markdown/react-native-tracker.platformcontextretriever.getappsetidscope.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getAppSetIdScope](./react-native-tracker.platformcontextretriever.getappsetidscope.md) | ||
|
||
## PlatformContextRetriever.getAppSetIdScope property | ||
|
||
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). | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getAppSetIdScope?: () => Promise<string | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...r/markdown/react-native-tracker.platformcontextretriever.getavailablestorage.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getAvailableStorage](./react-native-tracker.platformcontextretriever.getavailablestorage.md) | ||
|
||
## PlatformContextRetriever.getAvailableStorage property | ||
|
||
Bytes of storage remaining | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getAvailableStorage?: () => Promise<number | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...acker/markdown/react-native-tracker.platformcontextretriever.getbatterylevel.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getBatteryLevel](./react-native-tracker.platformcontextretriever.getbatterylevel.md) | ||
|
||
## PlatformContextRetriever.getBatteryLevel property | ||
|
||
Remaining battery level as an integer percentage of total battery capacity | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getBatteryLevel?: () => Promise<number | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...acker/markdown/react-native-tracker.platformcontextretriever.getbatterystate.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getBatteryState](./react-native-tracker.platformcontextretriever.getbatterystate.md) | ||
|
||
## PlatformContextRetriever.getBatteryState property | ||
|
||
Battery state for the device | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getBatteryState?: () => Promise<'unplugged' | 'charging' | 'full' | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...ve-tracker/markdown/react-native-tracker.platformcontextretriever.getcarrier.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getCarrier](./react-native-tracker.platformcontextretriever.getcarrier.md) | ||
|
||
## PlatformContextRetriever.getCarrier property | ||
|
||
The carrier of the SIM inserted in the device | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getCarrier?: () => Promise<string | undefined>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...markdown/react-native-tracker.platformcontextretriever.getdevicemanufacturer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getDeviceManufacturer](./react-native-tracker.platformcontextretriever.getdevicemanufacturer.md) | ||
|
||
## PlatformContextRetriever.getDeviceManufacturer property | ||
|
||
The manufacturer of the product/hardware | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getDeviceManufacturer?: () => Promise<string>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...racker/markdown/react-native-tracker.platformcontextretriever.getdevicemodel.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getDeviceModel](./react-native-tracker.platformcontextretriever.getdevicemodel.md) | ||
|
||
## PlatformContextRetriever.getDeviceModel property | ||
|
||
The end-user-visible name for the end product | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getDeviceModel?: () => Promise<string>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...e-tracker/markdown/react-native-tracker.platformcontextretriever.getlanguage.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@snowplow/react-native-tracker](./react-native-tracker.md) > [PlatformContextRetriever](./react-native-tracker.platformcontextretriever.md) > [getLanguage](./react-native-tracker.platformcontextretriever.getlanguage.md) | ||
|
||
## PlatformContextRetriever.getLanguage property | ||
|
||
System language currently used on the device (ISO 639) | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getLanguage?: () => Promise<string | undefined>; | ||
``` |
Oops, something went wrong.