GithubHelp home page GithubHelp logo

Comments (6)

janpio avatar janpio commented on August 25, 2024

find first, then make your changes and then save on the Contact: https://github.com/apache/cordova-plugin-contacts#methods-1

from cordova-plugin-contacts.

Bramzor avatar Bramzor commented on August 25, 2024

find first, then make your changes and then save on the Contact: https://github.com/apache/cordova-plugin-contacts#methods-1

This is not correct. Save will only update things like name/notes etc. If you for example want to add phoneNumber, Email, Addresses etc, this apparently will not work with save() unless you clone first but than information which is not cloned can be lost.

from cordova-plugin-contacts.

janpio avatar janpio commented on August 25, 2024

this apparently will not work with save() unless you clone first but than information which is not cloned can be lost.

Huh what?

from cordova-plugin-contacts.

Bramzor avatar Bramzor commented on August 25, 2024

On iOS (havent tested Android) there is a bug that does not allow to save any information which is of the type array. The only currently working way is to clone the contacts, remove the contact and save it as a new one. But when doing this, items that are not parsed (so items that will not be cloned) will be lost during the creation of the cloned contact.

from cordova-plugin-contacts.

janpio avatar janpio commented on August 25, 2024

Please open an issue for that or update #174 to also mention this if it is related.

from cordova-plugin-contacts.

timbru31 avatar timbru31 commented on August 25, 2024

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.

from cordova-plugin-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.