You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**`identifier`**| <code>string</code> | The identifier of the device as available to the app. This identifier may change on modern mobile platforms that only allow per-app install ids. On iOS, the identifier is a UUID that uniquely identifies a device to the app’s vendor ([read more](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor)). on Android 8+, __the identifier is a 64-bit number (expressed as a hexadecimal string)__, unique to each combination of app-signing key, user, and device ([read more](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID)). On web, a random identifier is generated and stored on localStorage for subsequent calls. If localStorage is not available a new random identifier will be generated on every call. | 1.0.0 |
|**`identifier`**| <code>string</code> | The identifier of the device as available to the app. This identifier may change on modern mobile platforms that only allow per-app install ids. On iOS, the identifier is a UUID that uniquely identifies a device to the app’s vendor ([read more](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor)). on Android, __the identifier is a 64-bit number (expressed as a hexadecimal string)__, unique to each combination of app-signing key, user, and device ([read more](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID)). On web, a random identifier is generated and stored on localStorage for subsequent calls. If localStorage is not available a new random identifier will be generated on every call. | 1.0.0 |
|**`name`**| <code>string</code> | The name of the device. For example, "John's iPhone". This is only supported on iOS and Android 7.1 or above. On iOS 16+ this will return a generic device name without the appropriate [entitlements](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name). | 1.0.0 |
137
-
|**`model`**| <code>string</code> | The device model. For example, "iPhone13,4". | 1.0.0 |
|**`operatingSystem`**| <code><ahref="#operatingsystem">OperatingSystem</a></code> | The operating system of the device. | 1.0.0 |
140
-
|**`osVersion`**| <code>string</code> | The version of the device OS. | 1.0.0 |
141
-
|**`iOSVersion`**| <code>number</code> | The iOS version number. Only available on iOS. Multi-part version numbers are crushed down into an integer padded to two-digits, ex: `"16.3.1"` ->`160301`| 5.0.0 |
142
-
|**`androidSDKVersion`**| <code>number</code> | The Android SDK version number. Only available on Android. | 5.0.0 |
143
-
|**`manufacturer`**| <code>string</code> | The manufacturer of the device. | 1.0.0 |
144
-
|**`isVirtual`**| <code>boolean</code> | Whether the app is running in a simulator/emulator. | 1.0.0 |
145
-
|**`memUsed`**| <code>number</code> | Approximate memory used by the current app, in bytes. Divide by 1048576 to get the number of MBs used. | 1.0.0 |
146
-
|**`webViewVersion`**| <code>string</code> | The web view browser version | 1.0.0 |
|**`name`**| <code>string</code> | The name of the device. For example, "John's iPhone". This is only supported on iOS and Android. On iOS 16+ this will return a generic device name without the appropriate [entitlements](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name). | 1.0.0 |
137
+
|**`model`**| <code>string</code> | The device model. For example, "iPhone13,4". | 1.0.0 |
|**`operatingSystem`**| <code><ahref="#operatingsystem">OperatingSystem</a></code> | The operating system of the device. | 1.0.0 |
140
+
|**`osVersion`**| <code>string</code> | The version of the device OS. | 1.0.0 |
141
+
|**`iOSVersion`**| <code>number</code> | The iOS version number. Only available on iOS. Multi-part version numbers are crushed down into an integer padded to two-digits, ex: `"16.3.1"` ->`160301`| 5.0.0 |
142
+
|**`androidSDKVersion`**| <code>number</code> | The Android SDK version number. Only available on Android. | 5.0.0 |
143
+
|**`manufacturer`**| <code>string</code> | The manufacturer of the device. | 1.0.0 |
144
+
|**`isVirtual`**| <code>boolean</code> | Whether the app is running in a simulator/emulator. | 1.0.0 |
145
+
|**`memUsed`**| <code>number</code> | Approximate memory used by the current app, in bytes. Divide by 1048576 to get the number of MBs used. | 1.0.0 |
146
+
|**`webViewVersion`**| <code>string</code> | The web view browser version | 1.0.0 |
Copy file name to clipboardExpand all lines: device/src/definitions.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ export interface DeviceId {
7
7
*
8
8
* On iOS, the identifier is a UUID that uniquely identifies a device to the app’s vendor ([read more](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor)).
9
9
*
10
-
* on Android 8+, __the identifier is a 64-bit number (expressed as a hexadecimal string)__, unique to each combination of app-signing key, user, and device ([read more](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID)).
10
+
* on Android, __the identifier is a 64-bit number (expressed as a hexadecimal string)__, unique to each combination of app-signing key, user, and device ([read more](https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID)).
11
11
*
12
12
* On web, a random identifier is generated and stored on localStorage for subsequent calls.
13
13
* If localStorage is not available a new random identifier will be generated on every call.
@@ -21,7 +21,7 @@ export interface DeviceInfo {
21
21
/**
22
22
* The name of the device. For example, "John's iPhone".
23
23
*
24
-
* This is only supported on iOS and Android 7.1 or above.
24
+
* This is only supported on iOS and Android.
25
25
*
26
26
* On iOS 16+ this will return a generic device name without the appropriate [entitlements](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name).
0 commit comments