Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7003

navigator.contacts.pickContact picks wrong contact on Android 4.3 and 4.4.3 versions

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      This issue touches pickContact method on Android devices. Simple call

      navigator.contacts.pickContact(function (contact) {
                  if (contact.id == -1) {
                      return false;
                  }
                  alert(contact.name.formatted);
              });
      

      return wrong contact.name.formatted value. For instance if I select Mom contact I would get Maria's contact object.

      This bug affects Android versions 4.3 (Samsung Galaxy S3) and 4.4.3 (Nexus 4) I haven't tested on other devices.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            iclelland Ian Clelland
            meshkov Meshkov Alex
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment