I have currently the problem specially on iOS, that when I select a file through the FilePicker, which is located in Nextcloud and integrated in the file manager through the file provider, I get a shared path to the file. The access is now possible to the file.
However, if I now save the path and want to access it when I restart the application, this is no longer possible. I ran this on a local device.
Access to the path'/private/var/mobile/Containers/Shared/AppGroup/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/File Provider Storage/abcd.../test.xyz' is denied.
I couldn't figure it out from the documentation at apple. https://developer.apple.com/documentation/fileprovider
Is the selected file only temporarily accessible? How can I permanently access e.g. a file in nextcloud via FilePicker without implement a WebDAV client to the app and constantly kept up to date the selected file?
With Android, as far as I have read, a permanent copy of the file is created, and access to the file also works when the application is restarted. Here, however, there is the problem that the file is not updated.