ios icon indicating copy to clipboard operation
ios copied to clipboard

Improvement: Download document everytime when using Document Provider

Open jclgs opened this issue 9 years ago • 0 comments

Hi.

Right now, when using IOS app and for example Office 365, can be also Google Docs, if we are not doing a refresh of the file cache structure in the Nextcloud IOS App, Office 365 or Google Docs are taking the file located directly in the cache of the mobile device.

It means that if someone else modified the same file, the mobile user, if not refreshing the structure and files in the NextCloud IOS app, can overwrite the file on the cloud server with copy from the cache.

What we want.

Trigger the File Cache update when using Document Extension Provider.

If we use External CIFS mount linked on a Windows Server, for example, If the file is modified into the Windows Network and not from NextCloud, when you open that document from the Document Provider Extension in O365/Google Docs, the version opened is not the updated version on the CIFS server, but the one in the File Cache.

In an Enterprise context, when pointing the NextCloud server on a CIFS server, it means that local user can modify files directly from their windows client computer, but if the mobile user is not refreshing the NextCloud IOS app, the mobile user when opening the file will open the file located in the cache of the mobile device instead of downloading the new version. So we want that each time Document provider is used, it trigger the cache update on the mobile device by downloading the file each time instead of asking the user to refresh the cache from the NextCloud IOS app.

Don't know if it can be a background process in the NextCloud IOS app or done when Document Provider is launched.

Same issue with Android app.

Thanks

jclgs avatar Sep 13 '17 13:09 jclgs