In the Full Example in this repo, it looks like setting contact.photo = null should delete the existing photo. However, it doesn't seem to be working that way.
I've set it to null and refreshed the view only to find the image still there. Am I doing something wrong?
Turns out if you set the photo and then check contact.photoOrThumbnail, that will return true, so you have to set both contact.photo = null and contact.thumbnail = null to "delete" the profile image.
In the Full Example in this repo, it looks like setting
contact.photo = null
should delete the existing photo. However, it doesn't seem to be working that way.I've set it to null and refreshed the view only to find the image still there. Am I doing something wrong?