Found an odd bug today in a few Survey123 forms across multiple devices. When you have a image field, if you add a PNG as a photo the app silently fails to add the attachment. You can add the png as a file, but not as a photo. The debug log suggests the file cannot be found and that it is a part of the image resize process.
I suspect the libs used by Survey123 could be failing to resize a PNG?
In any case, it would be good to see a file type filter if PNGs are not supported, or to make the error more pronounced so that it doesn't happen silently.