contacts icon indicating copy to clipboard operation
contacts copied to clipboard

feat: add ability to save image on `createContact`

Open elvisgraho opened this issue 3 years ago • 6 comments

Documentation and typescript mention that method saveContact has image parameter, and that you can set contact image. However native code (android and iOS) has no such feature.

Parameter 'image', passed in TypeScript angular application, is never red in the saveContact native methods.

elvisgraho avatar Nov 29 '21 13:11 elvisgraho

@elvisgraho true. Function was never implemented. @muuvmuuv is this a Feature you planning to implement or shall i remove it from the docs? I think the feature would be rather large, my tendence is to not implement it.

Idrimi avatar Dec 02 '21 10:12 Idrimi

Oh, you are correct. I just copied ported the CNMutableContact 1:1. Might not be the only prop I forgot to clear afterwards, sorry. You can remove it @Idrimi, I won't have time or the need to implement it.

muuvmuuv avatar Dec 02 '21 14:12 muuvmuuv

Thank you @muuvmuuv for implementing the saveContact feature. I hope someone in the future can finish with the image.

elvisgraho avatar Dec 03 '21 06:12 elvisgraho

@elvisgraho if a customer of us wants it we will implement it 👨‍💻. Lets just rename the issue to a feature request and keep it open.

muuvmuuv avatar Dec 03 '21 17:12 muuvmuuv

Any news?

AnastasiosF avatar Dec 19 '22 09:12 AnastasiosF

I found this example where the contact is saved with an image in android, maybe it can be a starting point, I would like to help but my java knowledge is little https://gist.github.com/slightfoot/5985900

Trino62 avatar Jan 23 '23 19:01 Trino62