mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-01-02 01:10:08 -06:00
Add autofill service to save and retrieve password Fixes #831 Add support for Android autofill service and saving credit card information in KeyPass. * **Autofill Service Implementation** - Add a new `<service>` element in `app/src/main/AndroidManifest.xml` for the autofill service. - Create a new file `KeyPassAutofillService.kt` to implement the `AutofillService` class. - Override necessary methods: `onFillRequest`, `onSaveRequest`, `onConnected`, and `onDisconnected`. - Fetch accounts and show as suggestions in `onFillRequest`. - Save account data in the database in `onSaveRequest`. * **Utility Functions** - Update `GetAutoFillService.kt` to include functions to check if the autofill service is enabled and to enable the autofill service if it is not enabled. * **Autofill Service Configuration** - Add a new XML file `autofill_service.xml` to configure the autofill service. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/831?shareId=XXXX-XXXX-XXXX-XXXX). * WIP * feat: changes of autofill service * implement auto fill service * feat: disable lint