[
https://issues.apache.org/jira/browse/CB-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gord resolved CB-1848.
----------------------
Resolution: Fixed
Java commit:
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-blackberry-webworks.git;a=commitdiff;h=721f5513857db4bbc3c42c8712472b1153ea6ba0
device.platform will return BlackBerry for all platforms, version will be the
OS version and name will be the type of device.
> device APIs should be looked at again
> -------------------------------------
>
> Key: CB-1848
> URL: https://issues.apache.org/jira/browse/CB-1848
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry
> Affects Versions: 2.2.0
> Environment: Playbook
> Reporter: Filip Maj
> Assignee: Gord
> Fix For: 2.3.0
>
>
> {{device.platform}} returns {{playbook}} on a Playbook. Presumably this means
> that on a BB 10 device it returns something else? (haven't tested on bb10
> yet). What about on BB OS 6 or 7?
> {{device.name}} returns a string of numbers. Not sure what that represents.
> {{device.version}} on a Playbook returns {{BlackBerry Playbook OS}}. I ran
> this on two different Playbooks with different versions (2.0.1.xxxx and
> 2.1.0.xxxx) and both returned the same value. It should instead return the
> Playbook OS version as a string. Again, not sure what BB OS 6 and 7, and BB
> 10s, return in this case.
> On the plus side {{device.uuid}} returns the device PIN! This is correct.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira