Enables vcf contact file sharing to WhatsApp

This commit is contained in:
merkost 2023-06-29 22:28:44 +10:00
parent a33a177949
commit 4cc35c6676
1 changed files with 2 additions and 1 deletions

View File

@ -164,7 +164,8 @@ class VcfExporter {
contactsExported++
}
Ezvcard.write(cards).version(VCardVersion.V4_0).go(outputStream)
// whatsapp does not support version 4.0 yet
Ezvcard.write(cards).version(VCardVersion.V3_0).go(outputStream)
} catch (e: Exception) {
activity.showErrorToast(e)
}