Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone in version 4 is not showed correctly #64

Open
deliqus opened this issue Apr 10, 2022 · 4 comments
Open

Phone in version 4 is not showed correctly #64

deliqus opened this issue Apr 10, 2022 · 4 comments

Comments

@deliqus
Copy link

deliqus commented Apr 10, 2022

I am trying example from documentation:

https://www.npmjs.com/package/vcards-js#complete-example but with version 4.

`
var vCard = vCardsJS();

vCard.version = '4'
//set basic properties shown before
vCard.firstName = 'Eric';
vCard.middleName = 'J';
vCard.lastName = 'Nesser';
vCard.uid = '69531f4a-c34d-4a1e-8922-bd38a9476a53';
vCard.organization = 'ACME Corporation';

vCard.workPhone = '312-555-1212';

`
In version 4, the phone output:

TEL;VALUE=uri;TYPE="voice,work":tel:312-555-1212
Which is not showed correctly

Screen Shot 2022-04-10 at 14 07 55

When i use version 3, the output is TEL;TYPE=WORK,VOICE:312-555-1212 and it works as expected

Screen Shot 2022-04-10 at 14 10 31

Am i doing something wrong or how can i use phone in version 4?

Thanks

@RanaMuhammadAdnan
Copy link

I am facing this same issue. when will this issue fixed? any idea.

Thanks

@RanaMuhammadAdnan
Copy link

@enesser can you look at this isuue. please

@TJKoury
Copy link

TJKoury commented Apr 18, 2022

@RanaMuhammadAdnan No major platforms are v4 compatible, there’s nothing to be done.

@smartdev58
Copy link

smartdev58 commented Sep 23, 2022

@enesser I am using latest iOS mobile and Windows 10. I have same issue in both platforms.
Can you please fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants