cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Hill (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2161) Search for contacts "freezes" until home button pressed in 6.1 simulator
Date Sun, 06 Jan 2013 22:34:15 GMT

    [ https://issues.apache.org/jira/browse/CB-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545515#comment-13545515
] 

Benjamin Hill commented on CB-2161:
-----------------------------------

Same issue on:
* iPhone 5.0 simulator
* xCode 4.5.2
* iPad 5.0 simulator
* when I add a contact in the address book
                
> Search for contacts "freezes" until home button pressed in 6.1 simulator
> ------------------------------------------------------------------------
>
>                 Key: CB-2161
>                 URL: https://issues.apache.org/jira/browse/CB-2161
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.3.0
>         Environment: OSX 10.8.2, Xcode 4.6 DP4, iOS iPhone Simulator 6.1
> Latest 2.3.0 from github.com/apache/cordova-ios
>            Reporter: Benjamin Hill
>            Assignee: Shazron Abdullah
>
> I am trying a basic search for contacts.
> {code:JavaScript} 
> var app = {
> onFindResult: function(contacts) {
>     console.log('Found contacts:' + contacts.length);
>     //...
> },
>   onDeviceReady: function() {
>     console.log('onDeviceReady');
>     navigator.contacts.find(["displayName", "name"], app.onFindResult, app.onError);
>     console.log('started searching for contacts.');
>   }
> }
> {code}
>   
> But, it freezes and only calls the "onFindResult" when I press the "home" button.
> 2013-01-06 14:18:31.192 ArchiveContacts[12090:c07] [LOG] onDeviceReady
> 2013-01-06 14:18:31.193 ArchiveContacts[12090:c07] [LOG] started searching for contacts.
> (Freezes here until I press the Home button)
> 2013-01-06 14:19:30.245 ArchiveContacts[12090:c07] [LOG] Found contacts:0

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

Mime
View raw message