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

Issue with Saving vCard Files on Certain Android Devices #50

Open
onevcard-team opened this issue Feb 7, 2024 · 1 comment
Open

Issue with Saving vCard Files on Certain Android Devices #50

onevcard-team opened this issue Feb 7, 2024 · 1 comment
Assignees

Comments

@onevcard-team
Copy link

Hello,

We've recently encountered an issue where some of our customers are unable to save vCard files on certain Android devices, specifically those running Android version 14.

Here's the sequence of events:

  1. The user initiates the import process.
  2. An alert message appears stating "Contact will be imported shortly."
  3. However, even after waiting for over an hour, no contact gets added.

As an attempted workaround, we tried changing the vCard version to 4.0 by replacing "VERSION:3.0" with "VERSION:4.0" in the vCard.toString() method. This allowed the vCard to be saved again, but it introduced a host of other problems within the vCard itself.

Is anyone else experiencing this issue or have insights on a potential solution? Any help or guidance would be greatly appreciated.

Thank you in advance for your time and assistance.

@joaocarmo joaocarmo self-assigned this Mar 9, 2024
@joaocarmo
Copy link
Owner

joaocarmo commented Mar 9, 2024

I can't think of a reason for it not to work with any specific version of Android. Most systems will support even older versions than v3.

If you can provide some debug logs, they could help to identify the issue.

Please understand that specifying VERSION:4.0 means the parser will be different and thus most likely fail, since it's a major version bump with likely breaking changes. This library only supports VERSION:3.0 and there are no immediate plans to provide support for other versions.

Feel free to fork the library and adjust it to your needs. If you feel like sharing your changes, you are also encouraged to open a pull request.

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

No branches or pull requests

2 participants