Open NeverWise opened 7 years ago
Better to rename this 'Allow custom events'? This might avoid further duplicates being created :D
I can see the same problem. I have some contacts with multiple custom dates and once I sync my contacts to Nextcloud these fields are lost in Nextcloud.
I compared the output from Android and the otuput of Nextcloud contacts and this part is missing in Nextcloud:
X-ANDROID-CUSTOM:vnd.android.cursor.item/contact_event;1997-10-02;0;bar;;;;;;;;;;;;
I am using Contacts 3.2.0.
:+1: just noticed my contacts lost some dates. Migration was done about one year ago and I switched phones after this already and contacts synced back from nextcloud without those custom fields, so data seems to be lost :-(
At least it is not possible to add custom dates on the phone now while they are synced to nextcloud with DAVX5, so nothing new can be lost.
👍 just noticed my contacts lost some dates. Migration was done about one year ago and I switched phones after this already and contacts synced back from nextcloud without those custom fields, so data seems to be lost :-(
At least it is not possible to add custom dates on the phone now while they are synced to nextcloud with DAVX5, so nothing new can be lost.
I have just tested in Android and you can only add "Anniversary" field, but you can add more than one, so on your phone you can have the birthday, two different anniversaries but on the Nextcloud side, only the birthday and the last anniversary that was updated are stored.
I am waiting for this enhancement to finally migrate all the contacts to Nextcloud.
On my Android 11 phone / Pixel 5 with stock google android I can only add "Birthday" and one "Anniversary" to a nextcloud contact in the regular contacts app. I don't see an option to add more than one anniversary, maybe a different contacts app can do this?
In nextcloud web ui I can add a third date: A "Day of death". It is only displayed in the web ui, not in contacts app.
Samsung's Contact App on Android allows custom events to be added, which use X-ABDATE
when synced with DAVx5.
What needs to be done to add support for this in the web app? As far as I understand it from reading the comments in this issue when I add/change X-ABDATE
properties of a contact via Google Contacts app on my phone the data is synced with Nextcloud through DavX, correct? And it's rather an issue of displaying it in the frontend, yes?
That seems to be what is happening. Custom dates synchronize between my android devices just fine but are not displayed in Nextcloud.
Google uses X-ABDATE extension in its vcard on gmail to manage generic dates (events). The format is the same and already managed, for the phone number, by nextcloud.
phone number e.g. (working)
item1.TEL:0123456789
item1.X-ABLABEL:foo
X-ABDATE e.g. (not working)
item2.X-ABDATE:1997-10-02
item2.X-ABLABEL:bar
If I export a contact from google and import it in nextcloud, the X-ABDATE information remain in the vcard but isn't shown in the frontend. I think it would be nice to be able to see this information.
It is also possible to import it into android by using the specific extension:
X-ANDROID-CUSTOM:vnd.android.cursor.item/contact_event;1997-10-02;0;bar;;;;;;;;;;;;
This extension works from android 4 to 7. I personally tested it.I hope you decide to implement this extension.
Cheers