Enables vcf contact file sharing to WhatsApp
This commit is contained in:
parent
a33a177949
commit
4cc35c6676
|
@ -164,7 +164,8 @@ class VcfExporter {
|
||||||
contactsExported++
|
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) {
|
} catch (e: Exception) {
|
||||||
activity.showErrorToast(e)
|
activity.showErrorToast(e)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue