The Android notification listener companion app for auto-payment — developed by Hỗ trợ giải pháp số — enabling zero-fee, self-hosted automated bank transfer confirmation without third-party payment gateways.
- Modern Material 3 Mobile-First UI (Jetpack Compose):
- Dashboard Screen (
Danh sách đơn): Live listener status, total matched VND KPI, instant 1-tap Sync Now button, search bar, status filter chips (All,Synced,Pending,Failed), order cards with 1-tap retry, and tap-to-inspect full bank notification & server response. - Dedicated Settings Screen (
Cấu hình): Configure Webhook URL, Webhook Secret (X-Webhook-Secret), Order Code Prefix (AP), Known Bank Apps Only toggle, Test Webhook, all device permissions & battery exemption shortcuts, database cleanup, and Hỗ trợ giải pháp số app info.
- Dashboard Screen (
- Offline-First SQLite History & Automatic Recovery Sync:
- Every matched payment is persisted immediately to local SQLite (
PaymentDatabaseHelper, deduplicated by SHA-256 fingerprint) before calling the server. - If the server is unreachable or restarting, payments remain safely queued as
PENDING/FAILEDand are automatically re-synced bySyncPendingWorkerevery 15 minutes (or immediately via the Sync Now / Retry buttons).
- Every matched payment is persisted immediately to local SQLite (
- Custom Payment Adaptive Icon & Brand Identity: Vector payment receipt + emerald verification badge launcher icon branded by Hỗ trợ giải pháp số.
- Full
bigTextSupport & On-Device Filtering: ReadsNotification.EXTRA_BIG_TEXT,EXTRA_TEXT_LINES, andEXTRA_TEXT, extracts the web-generated order code + credit amount on-device, rejects outgoing debits, and never leaks personal chat notifications.
Each matched payment notification is posted as application/json; charset=utf-8 (with optional X-Webhook-Secret header):
{
"groupKey": "0|com.VCB|...",
"postTime": "Nov 27, 2026 5:30:00 PM",
"strPostTime": "2026-11-27 17:30:00",
"title": "Vietcombank",
"msg": "SD TK 0123456789 +150,000VND luc 27/11/2026. ND: AP849201",
"pck": "com.VCB",
"orderCode": "AP849201",
"amount": 150000
}- Prebuilt APK (with QR Code): Open the Releases page and scan the embedded QR code with your Android phone to download and install directly (or grab the latest build from GitHub Actions → Artifacts).
- Build Locally (JDK 17 + Android SDK 34):
git clone https://github.com/sinhsac/auto-payment-android.git
cd auto-payment-android
./gradlew testDebugUnitTest assembleDebugThe APK will be generated at app/build/outputs/apk/debug/app-debug.apk.
This project is licensed under the MIT License — see the LICENSE file for details.