Get the link of the file and create a deep link (adding owncloud:// as prefix)
Remove device connection
Click on the link to open
Actual behaviour
Sync failed
Expected behaviour
File is downloaded (therefore discovered), so it should be opened in the app, regardless the lack of connection.
If file is discovered and not downloaded, opening the link should show the Details view, no matter if the file is previewable or not (same as clicking directly the file)
If the file is downloaded, lack of connection does not have to avoid opening it.
If a folder is discovered, it should show the content
Comes from https://github.com/owncloud/android/pull/4212#issuecomment-1840703242
Steps to reproduce
owncloud://
as prefix)Actual behaviour
Sync failed
Expected behaviour
File is downloaded (therefore discovered), so it should be opened in the app, regardless the lack of connection.