DeviceKit icon indicating copy to clipboard operation
DeviceKit copied to clipboard

How to get model number with DeviceKit?

Open RomanPodymov opened this issue 4 years ago • 3 comments

Hello. Thank you for DeviceKit. Could you tell me how to get the device's model number with DeviceKit? I mean the values like A2111, A2223.

RomanPodymov avatar Feb 18 '21 16:02 RomanPodymov

@RomanPodymov There currently is no way, using DeviceKit at least, to get the model numbers of the device. We identify devices using the firmware identifier (eg. iPhone13,3).

Zandor300 avatar Feb 18 '21 18:02 Zandor300

Hello @Zandor300 Thanks for the clarification. It will be nice to have this feature.

RomanPodymov avatar Feb 18 '21 20:02 RomanPodymov

Until it's added to DeviceKit, I created a package which does provide this information @Zandor300 https://github.com/ptrkstr/Devices It focuses more on providing all devices rather than the current device.

ptrkstr avatar Oct 28 '21 08:10 ptrkstr