You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by AleksMeshkov <gi...@git.apache.org> on 2014/06/19 08:53:50 UTC

[GitHub] cordova-plugin-contacts pull request: Add pickContact functionalit...

Github user AleksMeshkov commented on the pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/26#issuecomment-46529001
  
    Hi to all! Have anyone noticed bug with getting wrong contact instance? When I run code below I get contact instance witch I didn't pick. When I select "Mom" in picker's interface I get, for example, "Dmitri". It happens on Android 4.3 and 4.4.3.
    ```
    navigator.contacts.pickContact(function (contact) {
                if (contact.id == -1) {
                    return false;
                }
                alert(contact.name.formatted);
            });
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---