'Implement autofill service in android app
I'm trying to build a password manager application. During the process I've come across a problem: implementing the autofill functionality that other password managers use in their app to let the user easily fill their credentials on a website or in an app. Does anyone know how I can implement this functionality in android studio?enter image description here
Solution 1:[1]
The first place you will need to start is the AutofillService guide :Build Autofill Service in order to understand: AndroidManifest requirements (BIND_AUTOFILL_SERVICE), permissions, and requirements for your implementation of Autofill service.
Code samples:
- Android Input samples (3 years old)
- Android PasswordStore (Best .kt Implementation)
Issues you will run into, targetSDK matching your emulator, and after Android 12 the Autofill Service settings menu seems unreachable through the OS but it is actually: Passwords & Accounts -> Aufofill Section and click Google to select a different one. .
Best of luck.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
