You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tobias Mücksch (JIRA)" <ji...@apache.org> on 2016/03/29 20:38:25 UTC

[jira] [Created] (CB-10985) Android sets type to -1 for ims

Tobias Mücksch created CB-10985:
-----------------------------------

             Summary: 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
            Reporter: Tobias Mücksch


I've created a contact with a custom type for ims.
{code:javascript}
{
    ims: [{
        type: "diaspora",
        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.

*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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org