Skip to content
Browse files
doc(ios): add device.model quirks (#158)
  • Loading branch information
erisu committed Apr 1, 2022
1 parent d217d6a commit 3a30f9b93bbee7abda99db6df0dd3e7ee2eb6a52
Showing 1 changed file with 10 additions and 0 deletions.
@@ -104,6 +104,16 @@ var model = device.model;

- Gets the [product name]( instead of the [model name](, which is often the production code name. For example, the Nexus One returns `Passion`, and Motorola Droid returns `voles`.

### iOS Quirks

The model value is based on the identifier that Apple supplies.

If you need the exact device name, e.g. iPhone 13 Pro Max, a mapper needs to be created to convert the known identifiers to the associated device name.

Example: The identifier `iPhone14,3` is associated to the device `iPhone 13 Pro Max`.

For the full list of all identifiers to device names, see [here](

## device.platform

Get the device's operating system name.

0 comments on commit 3a30f9b

Please sign in to comment.