Local-first, privacy-focused Android personal finance aggregator
Powered by on-device notification ingestion, isolated provider parsers, and SQLCipher encryption.
Privacy & Security · How It Works · Providers · Progress · Roadmap · Architecture · Build & Test · Documentation
W-Track automatically collects transaction notifications from explicitly allowlisted Indonesian banking and e-wallet apps, normalizes them into a single encrypted local ledger, routes uncertain alerts to Needs Review, and helps you track balances, transfers, categories, and cash flow without uploading financial data or storing banking credentials.
Note
Current Status: v1.0.0 (versionCode 1000099, minSdk 26 · targetSdk 36 · compileSdk 37) is ready for daily use — shipping all M0–M5 features plus opt-in Biometric / Device-Credential App Lock, auto-suggested transfer pairing, opt-in privacy-safe Local Status Alerts, and zero-rebuild notification pattern rules. Verified with 11/11 isolated hardware instrumented tests and live v1 → v2 SQLCipher migration on iQOO Z10R (Android 16), with ongoing Gate G1 daily soak.
| Guarantee | How W-Track Enforces It |
|---|---|
| 100% Local-First & Offline | No cloud account, no telemetry, and no mandatory backend. All parsing, categorization, and reporting run on-device. |
| Zero Banking Credentials | Never asks for or stores bank logins, passwords, PINs, OTPs, or CVVs. |
| No Screen Scraping or Accessibility | Reads only standard Android NotificationListenerService events from apps you explicitly enable in the allowlist (and always ignores wtrack.app's own local alerts before allowlist lookup). |
| Biometric & Device-Credential App Lock | Optional lock screen (androidx.biometric, Settings → Security → Biometric & Device App Lock) with configurable inactivity re-lock (Immediate, 1 min, 5 min) protecting the ledger UI when returning from background. |
| Encrypted Storage & Backups | Local SQLite database is encrypted with sqlcipher-android (4.20.0) + Android Keystore AES-GCM key wrapping; .wtrackbackup archives (WTBK v1) use Argon2id + AES-256-GCM. |
| Safe Failure Handling & Privacy-Safe Alerts | Unseen notification formats or Android-redacted security alerts never guess amounts or directions — they route cleanly to Needs Review. Optional Local Status Alerts (Settings → Retention & Monitoring) never display amounts, merchant names, or raw notification text. |
flowchart LR
A["Allowlisted Bank & E-Wallet Notifications"] --> B["WtrackNotificationListenerService (Sync Allowlist + 3-Tier Dedup)"]
B --> C["SmartParserRegistry (Built-In · User Custom Patterns · Generic Fallback)"]
C -->|"Built-In / Custom Pattern Match"| D["Encrypted Room / SQLCipher Ledger"]
C -->|"Unseen Format / Redacted (Pre-filled)"| E["Needs Review Queue (1-Tap Confirm & Learn Pattern)"]
D --> F["Material 3 UI (Dashboard · Accounts · Activity · Insights · Parsers)"]
D --> G["Encrypted .wtrackbackup (WTBK v1) & Safe CSV Export"]
Verified on iQOO Z10R (Android 16):
| Priority | Provider | Package ID | Parser | What's Supported |
|---|---|---|---|---|
| 1 | Bank Jago | com.jago.digitalBanking (v8.99.1) |
JagoTransactionParser v2 |
Incoming & outgoing transfers, Android 16 group summaries, and Main Pocket-only pocket-to-pocket monitoring (movements solely between non-Main sub-pockets are ignored cleanly). |
| 2 | DANA | id.dana (v2.152.0) |
DanaTransactionParser v1 |
Incoming transfers, quest/mission promo filtering on the shared FCM channel, and Android 16 group summaries. |
| 3 | myBCA | com.bca.mybca.omni.android (v2.23.0) |
BcaTransactionParser v1 |
Financial Diary received & spent pushes and Android 16 group summaries. (BCA mobile com.bca v4.9.5 is verified installed; zero Financial Diary pushes observed from com.bca.) |
Tip
Any new bank or e-wallet works immediately without exporting JSON or rebuilding the APK: SmartParserRegistry resolves in 3 tiers (Built-In Parser → User Custom Pattern Rules → Generic Fallback Parser). Unseen monetary notifications automatically land in Needs Review pre-filled (while still filtering OTPs, promos, failed attempts, and non-monetary pushes). Checking "Remember this notification pattern" in Needs Review — or pasting a sample in Settings / Accounts → Notification Parsers — teaches W-Track a reusable local pattern ({AMOUNT}, {MERCHANT}, {REF}, {IGNORE}) so future alerts auto-parse straight into your ledger.
| Milestone | Scope & Implemented Features | Verification Status |
|---|---|---|
| M0: Foundation | 3-module Gradle setup (:app, :integration:api, :integration:providers) + build-logic conventions (isMinifyEnabled + isShrinkResources + optional keystore.properties release signing), Hilt 2.60.1 DI, Material 3 Light/Dark/System themes, pure-Kotlin boundary tests. |
Complete & R8-verified (33.0 MB debug → 11.0 MB release APK) |
| M1: Encrypted Data Foundation | Room Schema v2 (MIGRATION_1_2, 14 tables including custom_parser_rules) + SQLCipher 4.20.0 + DatabaseKeyManager (KEK/DEK lifecycle + LOCKED_KEY_MISSING_OR_INVALID lock screen recovery). |
Hardware-verified on iQOO Z10R (SqlCipherInstrumentedTest) + MIGRATION_1_2 unit-verified |
| M2: Notification Ingestion | Provider-agnostic WtrackNotificationListenerService, synchronous allowlist filter, activeNotifications catch-up, 3-tier deduplication, ING-08/ING-10 capture self-check & App Info guidance, ING-12/13/14 recovery & heartbeat, M3a sample capture protection, anonymized JSON export, purge, and PAR-11 guarded re-parse proposals. |
Hardware-verified on iQOO Z10R (IngestionAndLedgerInstrumentedTest) & live on daily driver |
| M3: Providers & Domain Engines | Production parsers for Bank Jago (v2), myBCA (v1), and DANA (v1); GenericNotificationFallbackParser + NotificationTemplateEngine (CompositeSourceParser & SmartParserRegistry) for zero-rebuild custom patterns; 16-row Section 4.6 aggregate engine + DASH-08 merchant trends; balance correction & checkpoints; manual & auto-suggested inter-account transfer pairing (TransferSuggestionEngine) with derived fees; auto-categorization rules with backfill; TX-06 tags & filtering; GateG1Evaluator. |
Unit & Robolectric-verified & hardware-verified core parsers |
| M4: Material 3 UI | Onboarding + Capture Self-Check + Notification Access/battery/restricted-settings guidance, Dashboard, Accounts (grouped IDR/USD/JPY input, balance correction, & Indonesian bank/wallet quick-links), Activity (tag filtering, edit, void, possible transfer suggestions, manual transfer linking), Needs Review (with 1-tap "Remember this notification pattern"), Notification Parsers (Paste & Test live pattern editor), Rules, Insights (merchant trends), Settings (Security App Lock, opt-in Local Status Alerts, DATA-12 thresholds & DATA-14 SAF backup folder config), and DatabaseLockedScreen. |
Theme & Lock UI verified on iQOO Z10R (ComposeThemeAndLockedUiInstrumentedTest) |
| M5: Reliability & Safety | Biometric / device-credential App Lock (AppLockStateMachine + AppLockOverlay), opt-in privacy-safe AndroidStatusAlertNotifier + self-notification drop guard, encrypted .wtrackbackup (WTBK v1 Argon2id 65,536 KiB / 3 iter + PBKDF2 fallback + AES-256-GCM AAD) export/verify/atomic 14-table restore (including custom_parser_rules, excluding raw payloads), scheduled backup reminder evaluator (EXP-006/DATA-14), CSV export with unencrypted warning & formula neutralization, RetentionPurgeWorker, and complete data wipe. |
Hardware-verified (BackupAndRetentionInstrumentedTest) + schema v2 backup round-trip unit-verified |
- Collect 7–14 consecutive days of real usage with ≥ 30 statement transactions per provider against official provider statements as ground truth (docs/PROVIDERS.md Appendix C).
- Validate Gate G1 acceptance thresholds: Coverage ≥ 90%, Completeness ≥ 95%, and 0 unexplained wrong amounts or directions.
- Capture and add anonymized templates for QRIS merchant payments, outgoing DANA transfers, refunds & reversals, failed attempts, and transfer admin fees.
- Observe and handle dual-notifier overlap (e.g., a DANA QRIS purchase funded by Bank Jago or myBCA debit firing notifications from both apps).
Full execution tracking lives in docs/PHYSICAL_DEVICE_TEST_CHECKLIST.md. Automated SqlCipherInstrumentedTest, BackupAndRetentionInstrumentedTest, IngestionAndLedgerInstrumentedTest, and ComposeThemeAndLockedUiInstrumentedTest suites (7/7) and R8 release builds are verified on iQOO Z10R; remaining manual/OS observations are:
- Physical reboot & locked-screen AFU delivery: Confirm BFU → AFU transition after real device reboot and live screen-off notification ingestion without unlocking UI.
- OriginOS / Android 16 live Doze &
am killobservation: Real listener survival/recovery across overnight idle (wait_for_unlock=true), battery optimization toggle (ING-10), permission revocation (ACCESS_REVOKED), live OTP redaction, and Android 16ProgressStyle/Cooldown notifications. - Interactive SAF & Release QA: Manual UI tap-through of Android SAF
.wtrackbackup/ CSV pickers, double-confirmed wipe dialog, Light/Dark theme switch, and signed release install (once localkeystore.propertiesis provisioned).
- Additional Indonesian banks & e-wallets isolated cleanly inside
:integration:providers. - Multi-OEM testing beyond
vivo / iQOO Z10Rand refined credit-card workflows.
W-Track/
├── app/ # Android app: Compose Material 3 UI, domain use-cases, Room/SQLCipher data, WorkManager, NLS ingestion
├── integration/
│ ├── api/ # Pure Kotlin parser contracts (TransactionParser, ParseResult, NotificationEvent, ParsedTransaction)
│ └── providers/ # Isolated provider parsers (jago, dana, bca), generic fallback, safe template engine & fixtures
├── build-logic/ # Shared Gradle convention plugins
└── docs/ # PRD, Architecture, Technical Spec, Database ERD, Security, ADRs, Provider & Device checklists
| Layer | Technologies |
|---|---|
| UI & State | Jetpack Compose (BOM 2026.09.00), Material 3, Navigation Compose 2.10.2, ViewModel + StateFlow |
| Dependency Injection | Hilt 2.60.1, Hilt Navigation Compose 1.3.0, Hilt Work 1.3.0 |
| Persistence | Room 2.8.5 (KSP), net.zetetic:sqlcipher-android:4.20.0, DataStore Preferences 1.3.0 |
| Background & Crypto | WorkManager 2.12.0 (hilt-work), BouncyCastle bcprov-jdk18on:1.80.2, kotlinx-serialization-json:1.9.0 |
| Build & Release | Kotlin 2.2.21, AGP 9.5.1, R8 Shrinking & Resource Shrinking (33.0 MB → 11.0 MB), minSdk 26 · targetSdk 36 · compileSdk 37 |
| Testing | JUnit 4, Google Truth, Turbine, Kotlinx Coroutines Test, Room Testing, Robolectric 4.18.1, AndroidX Test |
Run unit tests, Robolectric suites, lint, and R8 release build verification:
./gradlew test testDebugUnitTest lintDebug assembleReleaseWarning
Avoid ./gradlew connectedDebugAndroidTest on a daily-driver device with live financial data, as its teardown uninstalls wtrack.app. Use the isolated instrumentation workflow below instead.
Run isolated hardware instrumented tests without uninstalling existing daily-driver app data:
./gradlew assembleDebug assembleDebugAndroidTest
adb install -r app/build/outputs/apk/debug/app-debug.apk
adb install -r app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
adb shell am instrument -w -e debug false wtrack.app.test/androidx.test.runner.AndroidJUnitRunner
adb uninstall wtrack.app.test- Continuous Integration (.github/workflows/ci.yml): Runs automatically on every push/PR to
main— executes:integration:api:test,:integration:providers:test,:app:testDebugUnitTest,:app:lintDebug, and:app:assembleRelease, uploads HTML test/lint reports, and uploads a debug APK artifact onmainpushes. - Automated APK Releases (.github/workflows/release.yml): Pushing a version tag (
git tag -a v1.0.0 -m "W-Track v1.0.0" && git push origin v1.0.0) computes semver-Pwtrack.versionCode/-Pwtrack.versionName, runs the full test + lint gate, generatesSHA256SUMS.txt, and publishes a GitHub Release with APK assets (tags containing-are marked prerelease). - Optional Release Signing Secrets: Run
./scripts/setup-release-keystore.sh(or manually addANDROID_KEYSTORE_BASE64,ANDROID_KEYSTORE_PASSWORD,ANDROID_KEY_ALIAS, andANDROID_KEY_PASSWORDin GitHub Repository Settings → Secrets) to produce signed R8releaseAPKs automatically; without them, the workflow publishes an installabledebugAPK plus the R8-minified unsignedreleaseAPK.
| Document | Purpose |
|---|---|
| docs/PRD.md | Frozen Product Requirements Document (v1.4) & Appendix C Gate G1 format |
| docs/ARCHITECTURE.md | Module boundaries, layer dependencies, and runtime architecture |
| docs/TECHNICAL_SPEC.md | Ingestion pipeline, normalization rules, deduplication, and calculation specs |
| docs/DATABASE_ERD.md | Room schema entities, indices, foreign keys, and invariants |
| docs/SECURITY.md | Threat model, SQLCipher KEK/DEK lifecycle, retention rules, and backup crypto |
| docs/IMPLEMENTATION_PLAN.md | Full M0–M5 milestone breakdown and engineering backlog (45 items) |
| docs/PROVIDERS.md | Installed package registry, observed templates, and Gate G1 evidence table |
| docs/PHYSICAL_DEVICE_TEST_CHECKLIST.md | Physical iQOO Z10R verification checklist |
| docs/ADR/ | Architecture Decision Records (ADR-001 through ADR-006) |
W-Track is free software licensed under the GNU General Public License v3.0 (GPL-3.0). See LICENSE for full details.