Files
KeyPass/.github/workflows/pr-check.yaml
Yogesh Choudhary Paliyal e952987b7c Add autofill service to save and retrieve password (#940)
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
2025-04-05 17:10:33 +05:30

42 lines
907 B
YAML

name: PR Check
on:
pull_request:
branches: [ master ]
paths-ignore:
- 'fastlane/**'
- '.github/**'
- 'icons/**'
- 'images/**'
- 'scripts/**'
- 'whatsnew/**'
- '**.md'
- '**.MD'
jobs:
validate-pr:
name: 'Tests and Build Production Debug Build'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setting up project
uses: ./.github/actions/setup
- name: 🧪 Run Tests
run: ./gradlew test
# - name: 🧪 Run Lint free Release
# run: ./gradlew lintFreeRelease
- name: 🏗 Build APK
run: bash ./gradlew assembleFreeDebug
- name: 🚀 Upload APK to Artifacts 📱
uses: actions/upload-artifact@v4
with:
name: app
path: app/build/outputs/apk/free/debug/*.apk
retention-days: 3