-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
0 / 30 of 3 issues completedLabels
Description
We use (at least two) different sources to map Apple device models (e.g. iPhone15,3
) to device model names (e.g. iPhone 14 Pro Max
) and to resolve device classes (low/med/high) per model:
- core
ios-device-list.tsx
- this is used to map device models (e.g.
iPhone15,3
) to device model names (e.g.iPhone 14 Pro Max
) for the frontend - until ~2022 this was automatically updated by a script which in turn uses a node module as data source
- this node module is not maintained anymore, so we need to
- perform updates manually or find another data source (though I didn't find a suitable one in a quick search) or
- fork/contribute to the node module
- this is used to map device models (e.g.
profilingdevice.py
- deprecated and replaced, see belowthis is updated manuallythis includes both device name mapping and heuristics do determine device class based on hardware specs
- profiling
ios_models.py
- file renamed from the above when device classification was removed in chore(profiling): Clean device classification code #82139)
- this is updated manually
- this includes only the device name mapping for profiling
- for device classes, profiling now uses relay (see below)
- relay
device_class.rs
- this is now used to map device models (e.g.
iPhone15,3
) to device classes directly, so doesn't rely on device name mapping
- this is now used to map device models (e.g.
Docs:
- this page details how Mobile devices are mapped to device classes, so it needs to be updated along with any device class mapping changes
Related:
- Device model name should be shown instead of model type where possible #47453
- fix(iphone-codes): Added newest iPhone and iPad devices to BE/FE iPhone internal id maps #68762
- chore(profiling): Clean device classification code #82139
- chore: Remove iOS-device-list dependency #87829
- feat: Make default Apple device class high relay#4609
Sub-issues
Metadata
Metadata
Assignees
Labels
Projects
Status
Backlog
Status
No status
Status
No status