[ 
https://issues.apache.org/jira/browse/CB-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-1664:
---------------------------------

    Fix Version/s:     (was: 2.1.0)
                   2.2.0

Thanks for the bug report. This may be the case that there is an updated 
cordova-X.X.X.js in the development version that you need to use. Also make 
sure you call if after the deviceready event.

In any case, I cannot reproduce this bug in the latest source version (which 
will be 2.2.0rc1 released soon). I tried multiple simulators and devices.
                
> Device Object
> -------------
>
>                 Key: CB-1664
>                 URL: https://issues.apache.org/jira/browse/CB-1664
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: iphone Simulator, or iphone 3GS
>            Reporter: David Ward
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: device,
>             Fix For: 2.2.0
>
>
> Try to call the device object (such as device.name) works in official release 
> 2.1.0 but in 2.1.0 which I just downloaded off github (new to all this) so 
> not sure how best to identify it but the zip file name was 
> cordova-ios-2.1.0-93-g380c4d9.zip(link I used was .../zipball/master 
> yesterday) maybe that'll give u an idea let me know if I can tell you more. I 
> tried the same code in both and one worked and the other didn't...so.. could 
> use a hand. Documentation says no permissions need to be set. (test code I 
> used was from 
> http://docs.phonegap.com/en/1.7.0/cordova_device_device.md.html#device.name)

--
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

Reply via email to