[ https://issues.apache.org/jira/browse/CB-10985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Shakhnazarov updated CB-10985: ------------------------------------- Labels: android reproduced triaged (was: ) > 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: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org