iOS: The file “XXX” couldn’t be opened because there is no such file

Hallo,

short, in a nutshell: There a some issues with inserting or attaching files to joplin. It concerns the functions “Attach photo” and “Attach any file”.

I’m using joplin every day on Android, Linux and iOS, great piece of software. I think about quitting evernote. But there are some issues. If I want to attach any file to joplin on iOS. Then there is only this error message:

The file “XXX” couldn’t be opened because there is no such file.

I have no problem with the version under Linux Mint.

on iOS 12:
If I want to attach a photo: I can insert a photo from the library, but not make a fresh photo and insert it.

on Android 6:
Android tested at the moment seems to have another issue. I can attach a fresh photo but not attach a photo from the library on my phone. There is no explicit error-message, just the note stays without the wanted element. I can not attach any file to it. I get only a link to the file.

Greetings
Notetaker

when you wrote

you mean, add a file in attachment ?
if so which kind of file ?

Yes, I mean, add a file in attachment. I tested with pdf and with plain text. Same result. Seems like a problem with the filepath.

I forgot to mention: The files were from the app documents and from the regular files app on iOS 12.

Thanks in advance.

I edited the first post. More clearance was neccessary.

Same here. Looks like a file size issue.

There’s a bug open for iOS:

On Android sharing with Joplin only works with text. The upstream module we are using had a bug thus this was never implemented. Maybe it’s time to revisit that part of the code. That is, if upstream has finally fixed their issues.

Did you give the app the Storage permission? If not, it will fail. react-native apps cannot request permssions from Android. They have to be set manually as stated in the app configuration page.

I’ve got it on my todo list to see if we can get it working. Last I checked it wasn’t working upstream but there may be some things on our end that can get it working.