I am trying send pictures and audio from my Cordova app as attachments in the mail using mailto: URI. For this, I am using URI similar to:
mailto:some.one@somewhere.co.il?subject=my%20report&body=see%20attachment&attachment=file:///var/mobile/Containers/Data/Application/041193A7-DA1B-4B10-94B5-321FF380C85C/tmp/cdv_photo_003.jpg
The image uri is the path of the image I took using Cordova camera plugin in the same app, that was saved in documents directory.
But i do not see any attachments when the mail client opens. Is it because of sandboxing and restrictions by Apple? Is it even possible to send attachments from app directories in iOS?