Giter Club home page Giter Club logo

Comments (13)

tasn avatar tasn commented on June 16, 2024 1

@victor-rds, as for EteSync stripping categories: it's annoying and shouldn't happen, but an issue with etesync-dav, or maybe more correctly, the dav client (in this case tbird). EteSync uses the vcard 4 way of doing groups, which is a separate vcard for groups rather than the categories field. You should tell tbird to do the same, and then EteSync would work correctly. Please let me know if you manage to fix it so I can update the readme accordingly.

from android.

tasn avatar tasn commented on June 16, 2024

It is implemented, and it works, I just used it today.
What app do you use for your address book? Does it work for you for other account providers? (e.g. Google)

from android.

clayote avatar clayote commented on June 16, 2024

It's the contacts app that comes with OxygenOS 5.0.1 Android 8.0.0. The Add Group dialog lets me pick an account to make it under and I can do Google or Phone, but not EteSync.

Same behavior in GO Contacts EX.

from android.

tasn avatar tasn commented on June 16, 2024

Interesting. For me it works with the default lineage os contacts app on Android 7.1.
I'll try to figure this out. Thanks for the info.

Anything else you think may be useful for me to know?

from android.

clayote avatar clayote commented on June 16, 2024

I just tested it with Simple Contacts and that seems able to edit the groups, but I can't really tell where it's saving these.

from android.

tasn avatar tasn commented on June 16, 2024

It should show in the journal after a sync.

from android.

clayote avatar clayote commented on June 16, 2024

Ah, yeah, after adding some contacts to a group via Simple Contacts, that group shows up in the EteSync app proper. Still not in the stock Contacts app, though.

from android.

tasn avatar tasn commented on June 16, 2024

OK, so it still needs fixing, but at least we know it works for you with a different app.

from android.

victor-rds avatar victor-rds commented on June 16, 2024

The same problem happens with default Samsung Contacts app on Android 8.0, also I don't know if this is related but when I tried do import a vcf file in this app I noticed that all vcard had the CATEGORIES field stripped, example:

BEGIN:VCARD
VERSION:4.0
UID:fd176145-954e-46a3-a5d2-49fadf8a4ecb
CATEGORIES:Family,Starred
FN:Given Other Family
N:Family;Given;Other;;
NICKNAME:nick
BDAY:01/01/1970
ORG:Organization
REV:20180528T084910Z
TEL;PREF;TYPE=CELL:555-5555
TEL;T;TYPE=WORK:555-4444
EMAIL:[email protected]
EMAIL:[email protected]
END:VCARD

The CATEGORIES:Family,Starred disappeared, after that I tried to re-add the categories through Thunderbird Cardbook, with no success.

from android.

Netpilgrim avatar Netpilgrim commented on June 16, 2024

I would also like to have support for groups compatible with those provided by a Google account.

While I do not know how it works internally, it seems that each account that provides contacts data defines what kind of fields it supports because I get different fields to fill in when creating a new contact for my Google account than for my EteSync account (and others, e.g. an Exchange account), no matter what app I use. The Google account allows to add multiple values to a field sometimes called "groups" (e.g. Samsung Contacts) and sometimes "labels" (e.g. Google Contacts).

Edit: When storing contacts on the phone instead of the Google account I get the same groups/labels. This field apparently is not identical to or imported from the vCard field "categories", which can be set on EteSync contacts with an external program and is shown as part of the raw data in the EteSync Android app but does not show up in any Android contacts app.

Edit 2: After some more digging, I have found an app that can add EteSync contacts to groups (Simple Contacts Pro) but apparently this information is not stored in the vcard managed by EteSync. The latter was updated but while the raw data does show some changes, e.g. from vcard 3.0 to 4.0 and an added empty note field, there is no new data identifying the groups that contact was added to. I guess that some extra code is needed to explicitly sync some vcard field (ideally Categories) with the Android database tables containing group memberships. It is still curious why most contacts apps I have tested do not allow adding EteSync contacts to groups.

Tested on: Samsung Galaxy S7 (SM-G930F), Android 8.0

from android.

tasn avatar tasn commented on June 16, 2024

I think I fixed it. Could you please try using this version: https://stosb.com/~tom/app-release.apk

Sorry for the time it took.

EDIT: It's signed with the release keys, so it should just install over the google play version without any issues. This is so you can make sure it actually comes from me.

from android.

tasn avatar tasn commented on June 16, 2024

I just released the new version. It should be available in Google Play within a few hours and f-droid within a few days. Please let me know if this fixes it for you.

from android.

tasn avatar tasn commented on June 16, 2024

The issues described here should now be fixed (as confirmed by a few users). There are some related issues that are tracked in #54 so I'm closing this one.

from android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.