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

Vladimir Kotikov commented on CB-9629:
--------------------------------------

According to http://www.w3.org/TR/2011/WD-contacts-api-20110616/#attributes-1 
{{Contact.phoneNumbers}} property is _nullable_, so this is probably not a bug. 
You should check if the property is available manually before accesing it.

> Contact.pick return null in phoneNumbers instead of empty array when no 
> numbers
> -------------------------------------------------------------------------------
>
>                 Key: CB-9629
>                 URL: https://issues.apache.org/jira/browse/CB-9629
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>         Environment: Android 5.1
> Cordova 5.2.0
>            Reporter: Sergey
>            Assignee: Vladimir Kotikov
>            Priority: Minor
>              Labels: android, api-breaking, api-change, platform-consistency, 
> reproduced, triaged
>




--
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