PhilippC / kp2a_accservice_autofill

Accessibility service based AutoFill plugin for Keepass2Android
GNU General Public License v3.0
155 stars 20 forks source link

Firefox/Brave support + battery optimisation #24

Open lukefor opened 5 years ago

lukefor commented 5 years ago

I've added support for Firefox and Brave (issues #19, #23, #11), and also reduced the CPU usage and performance impact from noticeable to virtually nil - no longer appears in battery stats at all! (issue #17)

Apologies this is a bit of a messy pull request, going to be some manual merging needed here I think. The only changes of any significance are in AutoFillService.java and accserviceconfig.xml, everything else is just getting it to build on my version of VS

lukefor commented 5 years ago

Should also note the 1000ms timeout might be a bit too generous, it can require some tapping on/off fields before the notification appears. Could probably get away with reducing that quite a bit without impacting on battery too much

renyhp commented 5 years ago

Unfortunately I have never programmed for Android and I have no knowledge of Java so I can't do that myself, but it should also be quite easy to add support for a lot of other browsers. See how this file in another project dealt with browser support.

antgustech commented 4 years ago

Would be awesome if this could be merged, I'd really want that Brave support.

lukefor commented 4 years ago

I've now moved on to the native integration in latest android/firefox/kp2a, no need for this any more, anyone can take over this as necessary

JulesLecuir commented 4 years ago

Hi @lukefor, I am also interested in this Brave Browser support! :) But it looks like @PhilippC hasn't been active for a quite long time on the initial project. I am not familiar with Android compiling and I was wondering, what are the tools you used to build the apk file? Maybe you could release an apk file and link to it in your README? That would be awesome!

klorinczi commented 4 years ago

@lukefor: unfortunately I use Chrome under Android. Would be useful to have solution for Chrome, too.

JulesLecuir commented 4 years ago

The original plug-in already works for Chrome :)

klorinczi commented 4 years ago

Yeah, but always crashes :-( See: https://github.com/PhilippC/keepass2android/issues/281

AlexandreMarkus commented 4 years ago

@PhilippC would be really nice if you could review this and merge it. Brave browser is now an important Browser. What is your IDE btw? I did try to import the project into Android Studio and build the APK myself but it didn't work. Thank you!

Bemnyjasha commented 3 years ago

Hello world

Bemnyjasha commented 3 years ago

Hhh

4-FLOSS-Free-Libre-Open-Source-Software commented 3 years ago

Can this work with kiwi browser? (Chromium)