kDrive (maybe other cloud drives?) android cache problem

I’m using the kDrive app on my phone and I’ve noticed some strange behaviour when accessing files through the “kDrive” section in the file manager. I don’t know if it’s the same for other drives or not. Basically, if I open my keepass database using the kDrive “folder”, it fetches the file remotely. If I add a new entry or edit one, the new file is uploaded automatically to the cloud. So far, it works as intended. BUT the real problem starts here.
Using KeepassXC or AuthPass is the same: if I close/reopen the app and open my database again, the app will use a cached version of the file instead of the newest one I just edited. If I’m not careful, I can lose entries that way.

Is this a common thing on android or a specific problem from kDrive?

Yes I noticed the same when editing files.

For example, if I select a Word file → Open with → (app on phone) and then save it and it gets uploaded to kDrive. Then later I edit the same file on my computer. If I then open the file on my phone app again, it will open the old version that I previously had on my phone rather than loading the newest version from the server that has the changes made on the computer.

The only “solution” is to refresh the folder (swipe down from top) because then it will show the newest versions from the server instead of the old cached one.

Thanks for replying. I also knew about your “solution” but it’s not useful for Keepass since the apps remember the last opened file… I opened an issue with Infomaniak. Will keep you updated if they fix it.

Maybe a workaround could be to sync Keepass to kDrive via WebDAV, with an app like Foldersync? But yes, it should really be fixed in their app.

That’s what I do in the meantime. Also using DavX5 as a webdav client works flawlessly. The only inconvenient is the slower file opening since it fetches the file every time. Some kind of middle ground would be great: check if the file has been modified, if so pull it or else use the cached file.