Closed manucheri closed 5 months ago
@goenning With this fix I think all supported platforms should now report a device model corresponding to the actual device the code is running on.
FWIW the method used is similar to how other popular libraries (Firebase) gather the identifier.
Fine to merge?
Thanks @manucheri
uname
returnsx86_64
(or Apple Silicon equivalent) as the device name for Macs. Get the device name in another way for Mac devices. If it fails (it shouldn't AFAIK but still), fallback to the default way (which I guess can be represented as "unknown Mac" or similar).