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

ASF subversion and git services commented on CB-10985:
------------------------------------------------------

Commit 0f8945b911e3cf2617919bd7d3831019bb3b43f4 in cordova-plugin-contacts's 
branch refs/heads/master from [~daserge]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=0f8945b 
]

CB-10985 Android sets type to -1 for ims
Added a corresponding test


> Android sets type to -1 for ims
> -------------------------------
>
>                 Key: CB-10985
>                 URL: https://issues.apache.org/jira/browse/CB-10985
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>            Reporter: Tobias Mücksch
>            Assignee: Sergey Shakhnazarov
>              Labels: android, reproduced, triaged
>
> I've created a contact with some ims.
> {code:javascript}
> {
>     ims: [{
>         type: "Skype",
>         value: "mr_important"
>     }]
> }
> {code}
> When I retrieve the contact from the system it looks like this:
> {code:javascript}
> {
>     ims: [{
>         id: "2966",
>         pref: false,
>         type: -1,
>         value: "mr_important"
>     }]
> }
> {code}
> Have a look at the type... Why...?
> The phonebook shows the contact as expected with the correct type.
> Problem is the same either if the contact is created in the system or with 
> the cordova plugin.
> *Versions:*
> Android: 6.0
> Cordova: 6.0.0
> Platform: 5.1.1
> Cordova-Plugin-Contacts: 2.0.1



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