Skip to content

vCard populates blank HOME and WORK addresses when no data is provided #961

@dave-the-tech-guy

Description

@dave-the-tech-guy

LinkStack version

4.8.5

Description

(Note: submitting a PR for this issue, but wanted to track it)

When consuming vCards on iOS devices (and perhaps others), the contact card always has a HOME and WORK address, even if the addresses were left blank.

This results in an awkward experience, as iOS tries to ascertain a location based off nothing more than the word HOME or WORK.

Ideally, for maximum compatibility, the vCard we emit should only include components that are present.

Details about your system

LinkStack 4.8.5 Docker Image on Ubuntu host

How to reproduce

Reproducible 100% of time.

Create a vCard with only a name and phone number, click from an iOS device, observe the contact card.

Possible Solution

Refactor vCard serving logic to optionally populate fields.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions