Giter Site home page Giter Site logo

Comments (3)

tibbi avatar tibbi commented on June 2, 2024

groups arent handled at all at .vcf files

from simple-contacts.

svdb0 avatar svdb0 commented on June 2, 2024

I'm not sure I understand.
After I imported a .vcf file, groups were created which weren't there before, and these groups contained (the wrong) contacts.
It looks like these groups are stored as 'categories' in the .vcf file.

Perhaps the incorrect behavior comes from an interaction with Google's own contacts storage.
I have now deleted all contacts, both in Google's Contacts app, and in Simple Contacts Pro.
Then I forcefully stopped Simple Contacts Pro, and cleared its internal storage.
After importing the .vcf file, using my Google account as the contact source (as I did before), now the groups are recreated, with now the correct contacts in the correct groups.

So that solves the problem for me personally, but there's definitely some issue here.

Note that before, I had also tried clearing Simple Contacts Pro's internal storage (without deleting them first), and I had also tried deleting the contacts from Google's Contacts app — I think both at once.
I still ran into the problem.
Perhaps deleting the contacts first from Simple Contacts Pro affected something in Google's contacts storage, or perhaps there is some nondeterministic behavior here.

from simple-contacts.

svdb0 avatar svdb0 commented on June 2, 2024

So I've done a lot more testing, and I can't reproduce the original issue.
Some ideas:

  • At the time, my phone had a low battery charge, and was in low battery mode, running slower. Perhaps this makes the occurrence of race conditions more likely, or it could change how various processes interleave.
  • I originally had some contacts in the phone's local storage, in addition to those associated with my Google account.
    I tried recreating them, but could not reproduce the issue.
  • At some point during my attempts to get my contacts imported correctly, some default categories (like 'Family', 'Work') turned up. I did not use them, and they were not visible in Simple Contacts Free or Pro. I don't know what app created them, but I did delete them before the import which was finally successful.
  • In the 'Import Contacts' dialog, I had pressed the 'OK' button multiple times. The import dialog remained present and functional after I pressed this button, without any indication that the import was (still) running in the background, leaving me wondering whether the import had started at all. Perhaps as a result there were multiple imports running at the same time. I have not been able to reproduce the issue in this way though.

Regarding the duplicate contacts: I have found out that this is due to the WhatsApp contacts. Apparently, even though they relate to the same person, they are exported separately. And when they are re-imported, they are seen as normal contacts.
This does not happen with the free version of Simple Contacts.
Also, if you import the exact same contacts more than once, they are not deduplicated.
I will create a separate issue for this.

from simple-contacts.

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.