cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <>
Subject iOS' device API
Date Wed, 07 Nov 2012 00:40:56 GMT
Currently if you ask for device.platform you will get several different
responses on iOS. You'll get iPhone, iPad, iPod Touch, etc. This seems
backwards. IMO all of these should return 'iOS'.

Related, returns the custom device name as the user defines it
in iTunes. IMO it should return the model name, I.e. What device.platform
returns now.

This would line it up with our docs + other platforms.

View raw message