PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.8k stars 389 forks source link

Share URL not finding entry on first access #1594

Open joszz opened 3 years ago

joszz commented 3 years ago

I'm on the beta channel and since a few updates there has been an issue when you share the URL to KP2A. It doensn't find the entry on first share, if I share again it will find the entry.

I'm not using the AutoFill framework android and KP2A provides, since this isn't working for me so great. Especially when there are multiple logins on the same domain, the AutoFill framework doesn't match the correct URL (probably only matchin on domain?), the share feature works better in this regard (and does find the correct URLs when having multiple logins/credentials on the same domain with different URLs).

PhilippC commented 3 years ago

I cannot reproduce. Can you please try to specify more precisely - in which state is the app when you do the first share action? Which Android OS version? Which App version?

The issue with subdomains not being considered is solved in 1.09a-pre1 (https://play.google.com/apps/testing/keepass2android.keepass2android), BTW.

joszz commented 3 years ago

Sorry, I should've been more detailed in the first place, took to little time... The Android OS is 10 (MIUI Global 12.0.2). The app version is 1.09a-pre1 I use Chrome as a browser. This only happens when the state of the app is cold, for a better name of it. Meaning it has to startup (not in memory). When it's not cold (in memory), it behaves as expected. It also works when it's in memory and the database is locked. So basically it's not working as expected when I leave the phone unattended for awhile and Xiaomi's aggressive memory management kicks in, it seems at least. Even force stopping the app is not causing this behaviour, which is a bit weird, because I would think that would be the same. This behaviour is not something introduced with ROM updates as far as I'm aware. I believe this was happening after one of the latest KP2A updates. My ROM hasn't been updated for a while (beginning of the year), and I experience this issue since a month now.

If I can provide more details that I missed, please let me know. Or if anything is unclear, or you want me to test in a specific way.

My issue with the AutoFill framework is not subdomains, I reverse proxy several tools/services on my homeserver. These services reside in subdirectories of a domain. For example;