Giter VIP home page Giter VIP logo

Comments (7)

HugoLimon avatar HugoLimon commented on July 26, 2024

it works find when i add a new contact and delete

from flutter_contacts.

thuraucsy avatar thuraucsy commented on July 26, 2024

Me too. any work around for the ContactsService.updateContact()?

from flutter_contacts.

lukasgit avatar lukasgit commented on July 26, 2024

@HugoLimon @thuraucsy heads up, I am not the original author of this plugin. This plugin was written early on and has its limitations. The issue you are experiencing might be related to the limitations. We are working on re-writing a new plugin to replace this plugin from the ground up that is clean, secure, flexible, and easy to maintain.

Our resources are limited, but please feel free to contribute to the current plugin with your fixes / improvements. Please see the README for more information on how to contribute. Thanks!

from flutter_contacts.

thuraucsy avatar thuraucsy commented on July 26, 2024

I'm sorry for the misinformation.
I just updating the Contact.displayName and wanted the Android Contact App Name updating.

In fact, the Android Contact App is using Contact.givenName.

from flutter_contacts.

arturo-ojeda avatar arturo-ojeda commented on July 26, 2024

I tried searching for the error here too but found nothing.

Tried a couple of workarounds on how to compose the new phones object under Flutter but I still get a weird behavior.

It works for some contacts on the device and it seems to work on the emulator but it's flaky, I haven't been able to attribute the cause to one thing.

from flutter_contacts.

joachimvalente avatar joachimvalente commented on July 26, 2024

The error is in

.withValue(ContactsContract.Data.RAW_CONTACT_ID, contact.identifier)

Namely we should be looking up by RAW_CONTACT_ID and not by CONTACT_ID, and contact.identifier is the CONTACT_ID.

This should fix it: joachimvalente/flutter_contacts-1@52b9336...bb00de4

from flutter_contacts.

stale avatar stale commented on July 26, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from flutter_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.