Closed BKHines closed 4 years ago
@BKHines I've tested it with iPadOS 13.1 and its working fine.
@katzer Hmm, is that with the attachment URL format above: file:///var/mobile...? Or a different format? I also tried data URL and then a hard coded, base64 image data but those were not attached either.
I've used the camera plugin. So it's file:///var/mobile...
I just had another developer test it on their iPad with 13.1 and it didn't work for them. However, on the 12.4 devices with the same code, it works fine.
Is it possible the app doesn't have permission to access file system? I noticed a section in the readme about Permissions on Android, but didn't notice anything related to iOS. Could iOS13 require external storage permission?
I'll be able to try it in a few hours when I work on it, but I'm just curious if your test required any extra permissions.
Okay, I think this can be closed because it appears the camera plugin is providing an invalid FILE_URI on iOS13, similar to this issue: https://github.com/apache/cordova-plugin-camera/issues/492
Out of curiosity, @katzer you were able to get it to work using the camera plugin. Are you using this plugin? Latest version, 4.1.0?
Are you using this plugin? Latest version, 4.1.0?
Yes, latest plugin and platform version.
Okay, thanks for the information @katzer; I appreciate it.
Is anyone else experiencing an issue with passing a photo as an attachment in iOS 13 Beta 2? It works on iOS12 (and Android 9), I've updated the iOS platform, camera plugin and the email composer plugin. The file string I'm sending in as an attachment comes from the getPicture method on the camera module and looks like the following:
file:///var/mobile/Containers/Data/Application/[GUID]/tmp/cdv_photo_002.jpg.
The email opens fine, no errors, the image saves to the photo album (I have that set to true) but no matter what, the image doesn't get attached to the email. Anyone else having this issue?