You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "David Ward (JIRA)" <ji...@apache.org> on 2012/10/16 12:47:04 UTC

[jira] [Created] (CB-1664) Device Object

David Ward created CB-1664:
------------------------------

             Summary: 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
             Fix For: 2.1.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

[jira] [Resolved] (CB-1664) Device Object

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-1664.
----------------------------------

    Resolution: Not A Problem
    
> 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

[jira] [Commented] (CB-1664) Device Object

Posted by "David Ward (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477562#comment-13477562 ] 

David Ward commented on CB-1664:
--------------------------------

thanks, my bad...
                
> 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

[jira] [Updated] (CB-1664) Device Object

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ 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