iOS Device Model


I am using platform.device.model which works well for android, but for iOS it just says iPhone. How would I get the actual device type such as iphoneX or 6s etc?


The is no direct API that Apple provides to detect the device model, but this plugin must be helpful here