contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Custom phone labels not syncing on Android 14

Open x011 opened this issue 8 months ago • 5 comments

Describe the bug

I'm using the latest Contacts app (7.1.0) on Nextcloud Hub 10 (31.0.4).

For example, I have a contact with several phone numbers — two are set to "Mobile" and one has a custom label, in this case "Isac":

Image

But this is how it appears in Nextcloud Contacts:

Image

Notes:

  • All custom labels appear correctly on the phone (they were imported from Nextcloud Contacts during the first sync), but in Nextcloud, the field name is empty.
  • If I try to manually add the label in Nextcloud Contacts and sync again, the label and the associated phone number are simply deleted from Nextcloud and after syncing, also from my phone, which is actually quite risky.
  • I've tried completely uninstalling the contacts app, and install it again, and I can see the problem right after importing my contacts backup, which contain the custom labels.

Any idea why this is happening and how to fix it?

Steps to reproduce

  1. Set a custom phone label on my phone
  2. Sync Contacts

Expected behavior

To have the same custom phone label set on my phone on Nextcloud Contacts

Actual behavior

Custom phone label is empty.

Contact version

7.1.0

Operating system

Ubuntu 24

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

x011 avatar May 14 '25 10:05 x011

This is an example of a custom label that doesn’t get imported correctly into Contacts. The custom label is simply ignored and appears as blank. If I try to edit it, the field gets deleted along with the phone number.

BEGIN:VCARD
VERSION:3.0
PRODID:ez-vcard 0.12.1
N:Construções;TTT
FN:TTT Construções
TEL;X-CUSTOM(CHARSET="UTF-8,ENCODING=QUOTED-PRINTABLE,=52=75=69=20=43=6F=73
 =74=61"): +xxxxxxxxxxx
END:VCARD

The custom label should be "Rui Costa".

x011 avatar May 14 '25 11:05 x011

No triage or feedback at all? Is this project still alive?

It's been one week since I opened an issue and there's been complete silence. I'm honestly surprised. Has the project been abandoned?

x011 avatar May 21 '25 13:05 x011

Hi @x011

Apologies for our tardiness in responding but there are a lot of tickets with issues and features to handle.

The app has not been abandoned, we have just been focusing on other apps. I agree the contacts app has not gotten much love recently.

As for your ticket,

At the moment contacts app strictly follows the RFC specification and both our front end and backend are tightly bound to it. The "X-CUSTOM" parameter is not standardized therefor its not supported at the moment. Also this parameter should actually be "LABEL" according to a recent RFC updated.

SebastianKrupinski avatar May 21 '25 15:05 SebastianKrupinski

Hi @SebastianKrupinski, Thanks for taking the time to look into this.

I've been using Labels for over 4 years and they've always worked, this is something new to me. If I change:

TEL;X-CUSTOM(CHARSET="UTF-8,ENCODING=QUOTED-PRINTABLE,=52=75=69=20=43=6F=73
=74=61"): +xxxxxxxxxxx

to

TEL;LABEL(CHARSET="UTF-8,ENCODING=QUOTED-PRINTABLE,=52=75=69=20=43=6F=73
=74=61"): +xxxxxxxxxxx

is it supposed to work?

x011 avatar May 21 '25 23:05 x011

Hi, I agree with this topic, custom labels aren't synced even from ios/macos to nextcloud. E.g.

item2.TEL:+XX XXXX XXXXXX item2.X-ABLabel:SomeLabel

in *.vcf-File leeds to an empty Label-Field in Nextcloud

MicKress avatar May 24 '25 10:05 MicKress

To be fixed, closing as duplicate of https://github.com/nextcloud/contacts/issues/4530

SebastianKrupinski avatar Jun 26 '25 14:06 SebastianKrupinski