SimpleMobileTools / Simple-Contacts

Easy and quick contact management with no ads, handles groups and favorites too.
https://www.simplemobiletools.com
GNU General Public License v3.0
792 stars 261 forks source link

vcf export doesn't contain photos #1054

Open Kaligule opened 8 months ago

Kaligule commented 8 months ago

Thank you for the amazing app.

The app workds fine pretty much all the time. But when I export my contacts to vcf, the photos are missing. The contacts are in there, all fields (as far as I can see) are there, just the contact-photos are missing.

What I expected

in the vcf-file the contacts have a field called PHOTO as specified in RFC6350. The photo is encoded in base64 or something like this.

What I got

The PHOTO key is missing. Here is an example (Name, Catergory and phone number changed, but everything else left as it was. The contact has a photo in the app.

...
END:VCARD
BEGIN:VCARD
VERSION:4.0
PRODID:ez-vcard 0.11.3
FN:Max Mustermann
N:Mustermann;Max;;;
TEL;TYPE=CELL:+4912345678
CATEGORIES: Example Contact
END:VCARD
BEGIN:VCARD
...

version information

I run version 6.22.7 Pro from Fdroid on Android 11 (on a fair phone 4).

deejayy commented 7 months ago

I can report the same, no photo exported.

On the other hand, I couldn't find a way to import photos from vcf.

I tried: PHOTO;ENCODING=BASE64;TYPE=JPEG:<base64 encoded string> PHOTO;TYPE=JPEG;ENCODING=b:<base64 encoded string> PHOTO;MEDIATYPE=image/jpeg:<url> PHOTO;TYPE=JPEG;VALUE=URI:<url>

(app version is the same, xiaomi mi 9t, android 10)

Maxitendo1 commented 1 day ago

@Kaligule @deejayy SimpleMobileTools apps were sold to ad and spyware company. Fork is here:

https://github.com/FossifyOrg