You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steven Elliott (JIRA)" <ji...@apache.org> on 2015/11/15 07:21:11 UTC

[jira] [Commented] (CB-9348) Unable to get linked contact's phone number, while using pickContact

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

Steven Elliott commented on CB-9348:
------------------------------------

I needed a workaround myself so I published a new package for anyone else who wants to keep their workspace clean. https://www.npmjs.com/package/cordova-plugin-contacts-ios9 

This is just a fork of the cordova contacts repo but it has 2 specific javascript functions to give you more control for iOS users. {{showContactsPermission}} and {{hasContactsAccess}} can be called from javascript at different points in your code. 

Let me know if you have any questions, but I am now using this successfully in my own app.


> 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
>            Reporter: Dipanjan Chakraborty
>            Assignee: Omar Mefire
>              Labels: android, linked-contacts, 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