PhilippC / keepass2android

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

"Please activate the Keepass2Android keyboard." prompt always shown #1400

Open kohanyirobert opened 4 years ago

kohanyirobert commented 4 years ago

Given that

  1. Gboard is the active keyboard
  2. I open/switch to Keepass2Android
  3. Open/create a new entry
  4. There's a window/activity switch
  5. I see this: image
  6. Then there's another activity switch
  7. Finally the opened or new entry is shown and the Keepass2Android keyboard is active

I've verified that the Keepass2Android keyboard is active in the phone's settings.

Any idea how to get rid of this? Highly annoying :S

I'm using the keyboard swap plugin (not sure if that's related, but I guess is), but that seems to work. If I open the KeyboardSwap Plugin app and click on the test configuration button it reports Great! Looks like .... I've followed the instruction and used adb to grant the app the necessary permission.

(I made screen recording of this issue, but whenever Keepass2Android is on the screen only a black window is shown. I'm using MI 9 SE with stock MIUI Global if that.)

PhilippC commented 3 years ago

that sounds weird. Can you please try to disable automatic keyboard switching? Then open an entry and pull down the notification drawer and select the button to activate the KP2A keyboard. Does it show the same dialog?

kohanyirobert commented 3 years ago

Same thing happens. With the following settings

App settings > Password entry access > Keyboard switching > Auto-switch keyboard: unchecked Switch keyboard: checked Keyboard switch back: checked Switch keyboard when done: checked

And I uninstalled, removed the KeyboardSwap Plugin from the system.

Here's another recording. The black screen is again Keepass2Android. First I tap on Keepass2Android in the drawer, then select an entry, pull the drawer, tap the entry.

syldub69 commented 3 years ago

I get the same error message on my Xiaomi Redmi Note 11 Pro, Stock MIUI 14.0.2, Android 13. Each time I open an entry in Keepass2Android, it displays shortly the "Please activate the Keepass2Android keyboard" message during less than 1 sec then it disappears. The keyboard switching is working well though.

"KeyboardSwap for Keepass2Android" app is installed and permission is properly granted using ADB : adb shell pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTINGS

Keepass2Android is configured this way: Settings > App settings > Password entry access > Keyboard switching > Auto-switch keyboard: checked Auto-switch only after search: unchecked Keyboard switch back: checked Switch keyboard when done: checked

Tomfoolery808 commented 1 year ago

Bump. I've been using Keepass2Android for a couple of years and all of a sudden it is bullying me to change to "Please activate the Keepass2Android keyboard." when loading my database. Have never seen this before. If I make the requested change, Keepass2Android keyboard becomes my default keyboard globally. Pretty infuriating.

Screenshot_20221107_134251_Keepass2Android

Timmmy001 commented 1 year ago

You have to install "KeyboardSwap for Keepass2 Android" via PlayStore. After this follow the instruction from this App: You need to activated with ADB Shell (works without root!) a permission between KeePass and KeyboardSwap.

After this its works (for me).

Timmmy001 commented 1 year ago

What doesn't work well is switching back to the previous keyboard.