Git Product home page Git Product logo

kp2a_keyboardswap's People

Contributors

philippc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

42n4

kp2a_keyboardswap's Issues

"git" seems to trigger odd behaviour

I have been experiencing an issue for a while and have now managed to narrow the issue down to two entries in my database (I think). The entries for GitHub and GitLab seem to break the auto switch behaviour.

Expected behaviour:

  • Share page to K2A
  • Choose entry
  • One-line K2A keyboard appears to enter user and password

Experience:

  • Share page to K2A
  • Choose entry
  • Full K2A keyboard appears with no entry selected
  • Choose K2A special button and select option to select entry
  • Choose entry
  • GBoard returns (keyboard swap swapped back)

The only way to enter these entries is to copy and paste from the K2A app. Also, I find that the issue persists for other entries once it was triggered by one of my two GitXXX entries.

Weird Android 11 Behavior

First, just wanted to say I love this plugin and Keepass2Android. Thank you for all your work!

So this behavior just started when my phone upgraded to Android 11, so it's probably a side-effect of that. But now when I select an entry in my database (with the KeyboardSwap Plugin enabled) the KeyboardSwap Plugin app pops-up real quick as a new card then Keepass2Android app is switched back to. Not sure I'm using the correct terminology, but by "new card" I mean what shows up when you launch an app. Also, if I hit the square button to see all the cards of apps currently running, I can see the KeyboardSwap Plugin card just to the left of Keepass2Android's card but when I try to select it it just disappears (showing me my launcher). It still shows up every time I hit the square button, but it always disappears when I try to select it.

All that said, Keepass2Android and the KeyboardSwap Plugin both still work correctly. It's just a little annoying that the KeyboardSwap Plugin app card opens up since I usually double-tap the square button to swap back to the app I was using to enter in my login credentials, but now double-tapping the square button takes me to the KeyboardSwap Plugin which then promptly disappears.

My phone is a Pixel 2XL running Android 11, and I'm using the Nova Launcher (not sure if that matters). If you want any more info, just let me know.

Thank You.

Keyboard switching option greyed out in app

Device: Samsung Galaxy A5 (SM-A520W)
OS: 8.0.0
App version: 1.09a-r3
Plugin version: 1.0.5
Adb version: Android Debug Bridge version 1.0.32 Revision eac51f2bb6a8-android
PC OS: Microsoft Windows [Version 10.0.19043.1110] 21H1

Plugin doesn't show in app plugins (normal?). Running plugin and performing test says plugin is configured correctly.
Doesn't matter if database open or not, app always has Keyboard switching option greyed out.
Plugin and/or app installed to external or internal memory doesn't matter - same result.
Exiting Adb shell before or after attempting to change app setting doesn't matter - same result.
Disconnecting device from USB after exiting Adb shell but before or after disconnecting from USB doesn't matter - same result.

(Instructions need to be updated slightly? "Keepass2Android > Settings > App Settings > Password-Access > Keyboard switching" is "Keepass2Android > Settings > App Settings > Password entry Access > Keyboard switching" on my OS.)

Other plugins installed, and functioning normally: QR Plugin 1.0.1, AutoFill-Plugin (Accessibility Service) 1.02.

I'm at a loss. I've tried everything I can think of.

Keyboard swap not working

Hi!
Love your work.
I have recently tried the KeyboardSwap plugin.

Re. Similar GitHub 'issues':
As far as I can tell I did the ADB part correctly, including the space.
It does make sense to have the autoswitch happen as soon as KeePass2Android starts.

Additional suggestion: Add the instruction to go into KP2A Settings and enable AutoSwitch to the KbSwap plugin Instructions.

I can swap manually, but it seems this must be working for others so I may as well feedback into the process that mine hasn't been successful.

I have done a restart more than once.
I'm using a Huawei P10 lite on Android 8.0.0

Hope you can help and thiat this is useful input.
Best wishes.

Enable Dvorak keyboard layout

I have more than 50 characters long password and typing it regularly with a keyboard layout (QWERTY) which i never used before is really hard. Is there any way to enable Dvorak keyboard layout in Keyboard swap?

Feature Request: Switch keyboard when unlocking db

It would be great to be able to switch to the keepass keyboard automatically when unlocking a database. Even if the keepass keyboard is always on while inside keepass it would be a big help.
Using the keepass keyboard reduces the number of trusted parties required while entering database passwords.

github-releases (ideally with apk)

since kp2a is still not available via f-droid and non of your plug-ins, is it possible to also release this plug-in with apks on github?

thanks for considering publishing without google!

adb error

Trying to set up KeyboardSwap Plugin on Android 12, Xiaomi .

When running "pm grant keepass2android.plugin.keyboardswap2android permission.WRITE_SECURE_SETTINGS" i get "Exception occurred while executing 'grant':
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS."

Some help would be greatly appreciated.

`pm grant` doesn't give the requested permissions (but adb command doesn't error out...)

Just as mentioned by a number of people in the comments on https://www.xda-developers.com/keyboardswap-plugin-keepass2android-automatically-switches-keyboards-without-root/ , even though I don't get any errors with the pm grant command, the plugin keeps indicating that it doesn't have the required permissions.

When intentionally changing the command (like adding extra characters to the package or permission name) adb shows an error message. But when running pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTINGS in adb shell the command executes without error. But it doesn't seem to have any effect.

Searching around (for example here), I see comments like "WRITE_SECURE_SETTINGS is NOT available to applications!" or that the app would need to be a system app?

Any idea what is going on (I suppose the plugin is at least working for the developer and the 30 persons that gave more than 1 star on Google Play)?

Samsung Galaxy J3, Android 5.1.1 (not rooted, stock Android version on that phone)

Android 13 Support

Hi there,
I've been using Keyboardswap for years, everything works as expected.
My phone got an upgrade to 13 Kbswap still works. but now I got a new phone with Android 13 out of the box and I get 'not compatible with your version of Android'.
Is it possible to update KBswap to enable Android 13/14?

Cheers

Avoid missunderstanding how to use ADB Command (design improvement)

First A big thank you for your great work.
I want to suggest a little improvement for the keyboardswap2 plugin.

Problem in short:
For me (I am not an android developer) it was not obvious that I have to put a SPACE between keyboardswap2 and android in the pm grant command for adb shell. I found out this after checking how the manifest file (out of source code) is structured, but maybe other users will give up faster.

More details about the problem:
In the keyboardswap2 plugin instructions under no 4 the command looks like it is quite long and that there is just a linewrap. It is not easy to recognize that there should be a SPACE at the end of the line. But the correct command is:
pm grant keepass2android.plugin.keyboardswap2 android.permission.WRITE_SECURE_SETTINGS
Maybe this issue is only crucial on some devices with special screen width. I use Huawei P10.

Hard and Software used
Huawei P10
VTR-L09
EMUI-Version: 8.0.0
Android-Version: 8.0.0
Screen: 1920*1080

Possible solutions:

  • make it possible to copy the command text (to send it to a computer e.g. via chat or other apps)
  • put a special character or background color for all spaces and explain this in the instructions
  • just put a hint in the instructions that there must be a SPACE between keyboardswap2 and android

Improve UX of config screen

  1. You can auti-check for permission every sec. That way you can avoid asking user to press "test" button
  2. Please add paddings :)
  3. You can add some kind of icon on successfull config

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.