PhilippC / kp2a_keyboardswap

Keepass2Android KeyboardSwap Plugin
GNU General Public License v3.0
27 stars 1 forks source link

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

Closed e2jk closed 6 years ago

e2jk commented 6 years ago

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)

PhilippC commented 6 years ago

if you were running version 1.02 from the release channel, please try again. It looks I forgot to upgrade version 1.03 from beta to release channel. If it still does not work, please sign up for beta channel (https://play.google.com/apps/testing/keepass2android.plugin.keyboardswap2) and collect a logcat.

e2jk commented 6 years ago

Works great after the update was proposed on my phone (i.e. I didn't have to re-execute the adb shell command). Thanks for being so responsive!