How to create .vcf contact card


#1

My Ionic 3 app shows a person’s info (name, logo, phone, email…) and I want to save that in the contacts/address book (basically create a .vcf card).
Any idea how to do that? I can’t find any plugins or such in Google. I saw https://github.com/enesser/vCards-js but I’m not sure how to implement it in Ionic 3.

Thanks


#2

Probably there is a cordova plugin to save contacts.


#3

Of course there is:
https://ionicframework.com/docs/native/contacts/
https://github.com/apache/cordova-plugin-contacts


#4

But what if I have to add contacts from the browser? I tried the native contacts bt it doesnt work on browser,