cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Hill (JIRA)" <>
Subject [jira] [Created] (CB-2161) Search for contacts "freezes" until home button pressed in 6.1 simulator
Date Sun, 06 Jan 2013 22:28:12 GMT
Benjamin Hill created CB-2161:

             Summary: Search for contacts "freezes" until home button pressed in 6.1 simulator
                 Key: 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
            Reporter: Benjamin Hill
            Assignee: Shazron Abdullah

I am trying a basic search for contacts.

var app = {
onFindResult: function(contacts) {
    console.log('Found contacts:' + contacts.length);
  onDeviceReady: function() {
    navigator.contacts.find(["displayName", "name"], app.onFindResult, app.onError);
    console.log('started searching for contacts.');
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:

View raw message