keepass2android icon indicating copy to clipboard operation
keepass2android copied to clipboard

Google Drive does not find released folders

Open DoctorMG opened this issue 3 years ago • 4 comments

Hallo,

following constellation doesn't work anymore: I provide a google folder to my partner. Inside this are our keepass files for emergency purposes. On my device access works - my account, my devices, easy case. On my partners device there is the released folder (google drive via share/release) visible and accessible via Google Drive. Downloads, accessing etc. from drive app directly works, so I would map the following bug beyond Google drive. From Keepass2Android on the partners mobile the released folder is not visible as a folder but as a file name with size 0kb only. Tapping and opening is impossible from Keepass2Android. I cannot reach the files inside since the folder is not treated as a folder (to be opened, view content,... ) but like a file (to be processed somehow). It seems to me like the folder handling doesn't work correctly, if the folders are released/shared ones. All devices have Android 12, one is Huawei, one is Samsung 20 note ultra.

DoctorMG avatar Nov 06 '22 13:11 DoctorMG

So I have the same or a similar issue here. The app did not show shared google drive folders from my laptop, so i can't use the database from this folders. Btw KeePassDroid can access this files, but keepass4android is much better. @PhilippC Where in the source should I take a look? Maybe I can develop a fix.

Janpopan avatar Nov 12 '23 10:11 Janpopan

@Janpopan are you trying to access the file through the built-in Google Drive implementation or through the system file picker? Usually I recommend the former, but in this special case the latter might be more appropriate?

PhilippC avatar Nov 13 '23 06:11 PhilippC

@PhilippC if I use the build-in implementation, I have this issue, if I use the filesystem picket it works, but this is not so handy.

Janpopan avatar Nov 19 '23 10:11 Janpopan

https://github.com/PhilippC/keepass2android/blob/master/src/java/JavaFileStorage/app/src/main/java/keepass2android/javafilestorage/GoogleDriveBaseFileStorage.java

PhilippC avatar Nov 21 '23 07:11 PhilippC