cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9348) Unable to get linked contact's phone number, while using pickContact
Date Wed, 02 Dec 2015 09:52:11 GMT

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

ASF GitHub Bot commented on CB-9348:
------------------------------------

Github user vladimir-kotikov commented on the pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/88#issuecomment-161241738
  
    > Is this bug saying that the method can't find phone numbers from linked contacts,
or that it can't find phone numbers at all?
    
    I wasn't able to reproduce the situation, when the main contact have a phone number and
picked contact's `phoneNumber` is empty. The only way, i can repro this is to link two contacts
with phone numbers into another, _third_ contact that _doesn't have_ a phone number.
    
    > returning a combined contact by aggregating all contacts on the device is not the
correct behaviour
    
    Why it is not correct? The problem with `pickContact` is that if any contact have some
other contact linked, native picker on iOS shows only this main 'unified' contact, so there
is no way to get properties from linked contacts using 'pickContact' - the only way is to
use `search`.


> Unable to get linked contact's phone number, while using pickContact
> --------------------------------------------------------------------
>
>                 Key: CB-9348
>                 URL: https://issues.apache.org/jira/browse/CB-9348
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>    Affects Versions: 1.1.0
>            Reporter: Dipanjan Chakraborty
>            Assignee: Vladimir Kotikov
>              Labels: linked-contacts, reproduced, triaged
>
> using cordova v5.1.1 and contacts plugin v1.1.0
> we are unable to fetch the mobile numbers from the phonebook especially if there are
contacts linked.
> example:
> the main contact is 
> Name: John Doe 
> mobile: 9999999999
> the linked G+ contact is 
> Name J.Doe
> mobile: 8888888888
> When fetching the contact using pickContact , it does not fetch either phone numbers.
however, the name of the secondary (J.Doe) is fetched .
> Appreciate any help on this issue.
> Thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message