I have a forms application that I submit with file attachments that works great if I attach files that are are contained on the device (iPhone, Android). However, if one attempts to upload a file from iCloud/Google Drive/One Drive, we receive the following error:
FileReaderError: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.
The issue occurs with regularity on Android, intermittently from iOS, and not at all from Desktop.
Due to the way in which we transmit the files from the user, we utilize $refs and serialize the files like:
this.$refs['attachment'][0].getFiles()[0]
Which is then encrypted and placed in the body of a message, followed by a POST to the backend API. Which I realize is not standard but is required for the deployment.
Thanks in advance!