Hi.
I opened a ticket on github to stop using the IOS NextCloud cache or to redownload the file each time we are using document provider.
When using O365 to open a document for the first time, NextCloud IOS app download the file from the NextCloud server and the document open in O365. We can see it via a “Blue” Square saying Loading.
The problem, as soon as the file is in the NextCloud IOS cache, the file is never re-download again on the mobile device. If someone else is doing a modification to the same file, when you will open again the document in O365, it will use the file located in the Cache of the NextCloud IOS App instead of downloading it again from the NextCloud server. We can see the difference when it take it from the cache, because you are seeing a “Blank” square, instead of “blue”, saying “Loading”.
Is there a way to allow the NextCloud IOS app to stop using the app cache and download each time the file from the server? An option in NextCloud IOS app like “Do not use the cache” On/Off
We are in a corporate environment where peoples collaborates in multiple file, locally on server and remotely with their mobile device. If someone is changing a file on a smb share, if the mobile device has it in his NextCloud IOS app cache, it will use the one in cache instead of downloading the new version from the Cloud server.
There is a workaround, asking the user to do a refresh of the folder where the file is located in the NextCloud IOS app before using O365, not very interesting for the user.
Step to reproduce.
- Install NextCloud IOS App.
- Configure NextCloud IOS app.
- Install O365 IOS App
- Configure O365. IOS App.
- Start O365 IOS app.
- Select Open
- Select Location, NextCloud and open a Word or Excel Document
- Add something to the opened document.
- Save the document.
- With your windows computer, go on the SMB share where you save the previous document.
- Open it with your Office application
- Change something in it and save.
- Go back into your mobile device and start your O365 IOS app again.
- Select Open.
- Select Location, NextCloud and open the file that you modify few sec or minute ago.
*** You will see that the file that O365 open is the one located on your mobile device and not the latest version on the smb file server
So what’s needed. An option to stop NextCloud IOS app to use the Cache or to redownload each time the file when using O365 and Document Provider. The file is already download correctly when it’s the first time we are opening it.Why after that, it’s start using the file in cache instead of downloading each time from the server.
In a coorporate environment, we cannot ask our user to go back into the NextCloud IOS app to refresh the content and the cache. This is not productive.
This is a really big blocker for us an maybe other companies. We are really thinking looking for an another solution.
I’m pretty sure that the development team can create a fix quickly without changing too much thing.
Thanks