[
https://issues.apache.org/jira/browse/CB-10985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227034#comment-15227034
]
ASF GitHub Bot commented on CB-10985:
-------------------------------------
GitHub user daserge opened a pull request:
https://github.com/apache/cordova-plugin-contacts/pull/116
CB-10985 Android sets type to -1 for ims
Added a corresponding test
[Jira issue](https://issues.apache.org/jira/browse/CB-10985)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-10985
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-contacts/pull/116.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #116
----
commit 481ea0d2230152850c338f30f5f9bdd5f9beeaf8
Author: daserge <[email protected]>
Date: 2016-04-05T19:55:15Z
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]