PhilippC / keepass2android

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

KP2android offline, *.pdf - File attachment cannot be opened or can only be opened via a detour ? #2517

Open Bia-Tirol opened 5 months ago

Bia-Tirol commented 5 months ago

What version of Keepass2Android are you using? Keepass2android offline, Ver.1.09e-r7 (also tested online version) - Android13

x.kdbx file works perfectly on Android8 (same Keepass Ver. as Android13), all file attachments can be opened with the "Office Documents Viewer".

Same x.kdbx on Android13 can open .txt in the "Totalcmd-Editor"; .jpg can be opened via (3 points: open with) "Show photos" (system app) - not with e.g. "QuickpicGalleryPro"

Problem: "*.pdf" cannot be opened - #App has no authorization# (e.g. I cannot grant this authorization to "Office Documents Viewer" - system does not allow it)

Question: which app is able or how can I open file attachments "*.pdf" offline in Keepass2Android?

Please let me know if this is no longer possible so that I don't test all possible apps for nothing.

Thank you, Greetings from Tirol

Bia-Tirol commented 5 months ago

https://github.com/PhilippC/keepass2android/issues/1016#issuecomment-890398606 wrote: When I save a pdf file to my device, the file gets named to "(invalid)" To be able to access the file, I need to rename it and add an extension to the name.

tested today: Ver.1.09e-r7, Android13

Perhaps this inconvenience can be remedied? Thank you

vondravl commented 3 months ago

I had the same problem on samsung galasy s 23. I would split the problem into two.

  1. Save to cache and open - it is not working with some apps (samsung pdf reader, google drive pdf reader), but it is working with others (Adobe Acrobat, Dropbox pdf viewer, OneDrive PDF viewer)
  2. Export to file - in this I have the exact experience - it is exported as (invalid) - but renamed it is working as standard pdf
WebworkrNet commented 2 months ago

Related to #1770.