Mathijs created CB-14028: ---------------------------- Summary: device.model does not behave as documented on Android Key: CB-14028 URL: https://issues.apache.org/jira/browse/CB-14028 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-device Environment: Device: Samsung Galaxy S5 Model: SM-G900F Platform: Android Reporter: Mathijs
The [documentation|https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/#android-quirks] states: {quote}Gets the [product name|http://developer.android.com/reference/android/os/Build.html#PRODUCT] instead of the [model name|http://developer.android.com/reference/android/os/Build.html#MODEL], which is often the production code name. For example, the Nexus One returns {{Passion}}, and Motorola Droid returns {{voles}}. {quote} Hence, for the Samsung Galaxy S5, we would expect the production code name `klte`. Instead, we're getting `SM-G900F`, which is inconsistent with the documented example. However, in the quirk above suggests that it is 'often' the production code name. Does this mean that the result can be expected to be inconsistent, that is, sometimes the product name and sometimes the model name? -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org