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

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

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/88

    CB-9348 Fetch phoneNumbers and emails from linked contacts too

    This fixes [CB-9348](https://issues.apache.org/jira/browse/CB-9348).
    
    The idea here is to fetch `phoneNumbers` (and other `MultiValue`'s) from 
linked contacts as well as from picked (unified) one. These items from linked 
contacts then marked with `id = -1` and do not saved, when `contact.save` is 
called for 'unified' contact.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-9348

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-contacts/pull/88.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #88
    
----
commit d6c09502c572571ca95a09943202f92a598cd7a4
Author: Vladimir Kotikov <[email protected]>
Date:   2015-11-26T08:25:40Z

    CB-9348 Fetch phoneNumbers and emails from linked contacts too

----


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to