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
{{ message }}
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
It would be great to have on your plugin detail about iphone model.
CrossDeviceInfo.Current.Model just returns "iPhone"
I've tested method GetVersion() on the link below.
It works fine giving informations such as : iPhone5S,iPod6G, etc...
It just needs to be updated to inform newer models
This type is unmaintainable as the library would need to be updated with every device release and isn't guaranteed. The model returns the type of device.
@jamesmontemagno, I agree with the fact that this needs to be maintainable and creating a mapping between the model name returned by iOS and the marketing model is not maintainable.
But I think it would be more appropriate to return the model given by "hw.machine" property, as did in the link mentioned above.
It would make this plugin more complete and help a lot of it's users.
It would be great to have on your plugin detail about iphone model.
CrossDeviceInfo.Current.Model just returns "iPhone"
I've tested method GetVersion() on the link below.
It works fine giving informations such as : iPhone5S,iPod6G, etc...
It just needs to be updated to inform newer models
https://github.com/rangav/iOSDeviceModel/blob/master/DeviceHelper.cs
The text was updated successfully, but these errors were encountered: