keepass2android icon indicating copy to clipboard operation
keepass2android copied to clipboard

Add support for Google Drive shortcuts

Open aetonsi opened this issue 2 years ago • 4 comments

Hello, first of all, thank you for re-enabling Google Drive support recently. I have a feature request. I recently discovered that you can create shortcuts in Google Drive. You can do that by right clicking an item (folder or file) and selecting the following option: image


You can do that, for example, with files that are "shared with me". And that's what i did with my keepass folder: i shared it with my Google work account, and then i created a shortcut from "shared with me" to the root of my work account. This is the result on gdrive desktop: image


The problem is, in K2A these "shortcuts" are seen as a 0 byte file. If you try to open it in the file picker, K2A opens it as a file, and it obviously doesn't work. This is what you see in K2A: image


So i'm asking you if it would be possible to add support for these shortcuts. Ask me anything if you need more explanation.

Thank you for your time

aetonsi avatar Mar 27 '22 11:03 aetonsi

Also see this Google article about drive shortcuts: https://support.google.com/drive/answer/10864219

The replacement process will start in 2022. You’ll get a notification in Google Drive a few weeks before your replacement starts.

aetonsi avatar Apr 20 '22 19:04 aetonsi

Yes same here, I use shortcuts to share the DB with my wife and this doesn't work with kp2a.

erichiller avatar Jun 14 '22 09:06 erichiller

Yes, I share a database with my wife as well. It worked until recently when google replaced her reference to the file with a shortcut.

a-hackw avatar Jul 01 '22 00:07 a-hackw

Same issue here. Maybe, instead of supporting links, another option could be to be able to navigate into shared directories as well.

akiross avatar Jul 30 '22 14:07 akiross

Like others, I also share a file with my wife, and since Google changed the shared files to shortcuts, the sharing no longer works. If it's possible to get this app to open the Google Drive file shortcuts, it would be great to have the sharing working again!

leonjanzen-work avatar Nov 23 '22 22:11 leonjanzen-work

I just discovered that on Android, instead of choosing the "Google Drive" option, I can select the "System file picker", which includes access to my Google Drive account, and through that route, I can open a shortcut to a file, and it works just fine. Screenshot_20221123-153953

leonjanzen-work avatar Nov 23 '22 22:11 leonjanzen-work

I can confirm that the "System File Picker" approach works for me, both in loading the file, and in saving changes to it. Now I need to switch my spouse's device over to it.

Trinition avatar Apr 18 '23 23:04 Trinition