title: PhoneGap/Cordova on iOS: Get exact device hardware version (e.g. iPad 1 or iPad 2)
body: <p>Looking at the <a href="http://docs.phonegap.com/en/edge/cordova_device_device.md.html#device.platform" rel="nofollow">Cordova Docs</a>, it seems that only some general information is available via the <code>device</code> object. However, I would like to find out not just the name of the device, but also its hardware version: For example if it's an iPad mini or iPad 2, iPhone 4 or 5...</p>
  
  <p>Is there a built in way to do this with PhoneGap or must I resort to guessing the device by its user-agent and resolution?</p>