From issues-return-74901-apmail-cordova-issues-archive=cordova.apache.org@cordova.apache.org Wed Nov 2 14:35:59 2016 Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D96D19976 for ; Wed, 2 Nov 2016 14:35:59 +0000 (UTC) Received: (qmail 95102 invoked by uid 500); 2 Nov 2016 14:35:58 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 95037 invoked by uid 500); 2 Nov 2016 14:35:58 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 94828 invoked by uid 99); 2 Nov 2016 14:35:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 14:35:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A16072C2A6C for ; Wed, 2 Nov 2016 14:35:58 +0000 (UTC) Date: Wed, 2 Nov 2016 14:35:58 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11028) Android version of the contacts plugin behaves differently for Contact Detail "type" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-11028?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D156291= 49#comment-15629149 ]=20 ASF subversion and git services commented on CB-11028: ------------------------------------------------------ Commit 76f695ef9d151638c80d13ac1b4e2cbc9a781589 in cordova-plugin-contacts'= s branch refs/heads/master from [~Nikita Matrosov] [ https://git-wip-us.apache.org/repos/asf?p=3Dcordova-plugin-contacts.git;h= =3D76f695e ] CB-11028 android: Allow to set custom labels for contacts' fields > Android version of the contacts plugin behaves differently for Contact De= tail "type" > -------------------------------------------------------------------------= ----------- > > Key: CB-11028 > URL: https://issues.apache.org/jira/browse/CB-11028 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Contacts > Reporter: Tobias M=C3=BCcksch > Assignee: Nikita Matrosov > Labels: Android, triaged > > After inspecting the code for the android version of the plugin, I found = out, that for some reason the coders decided to return { ..., type: "custom= ", ... } for contact details with custom labels. But the iOS Version return= s the actual custom label as type. > Example: > *iOS:* > {code:javascript} > { > name: [ ... ], > phoneNumbers: [{ > id: 1337, > type: "My super fancy label", > value: "+41 45654 214654" > }] > } > {code} > *Android:* > {code:javascript} > { > name: [ ... ], > phoneNumbers: [{ > id: 1337, > type: "custom", // WHAT THE HECK? > value: "+41 45654 214654" > }] > } > {code} > This behaviour is not exclusive to phoneNumbers. It's the same for all Co= ntactDetails. -- 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