Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autofill service and credit card information saving #940

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yogeshpaliyal
Copy link
Owner

@yogeshpaliyal yogeshpaliyal commented Aug 10, 2024

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.

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyPass as autofill service
1 participant