feat(android): wallet screen + SDK payment surface #65

Merged
sirius merged 3 commits from feat/android-wallet into main 2026-09-13 19:48:00 +00:00
Owner

Summary

  • UniFFI wallet surface: balance, receive address, recent transfers, one-shot send_invoice / send_tip (fail-closed, not outbox).
  • Compose Wallet route: QR for the receive address, invoice/tip composers. Wipe chat stays on the roster.
  • SDK lockfile includes qrcode so cargo test --locked in the SDK CI job matches root Cargo.toml.
  • Forgejo release/API calls use HTTP Basic (sirius + token); Bearer is rejected on this instance.
  • android/.cargo/ is gitignored (machine-local NDK linker paths).

Verify

  • cargo test --locked + clippy -D warnings in crates/onionwire-sdk (host): 21 tests pass.
  • ./gradlew :app:compileDebugKotlin :app:testDebugUnitTest: BUILD SUCCESSFUL.

Android APK is dispatch-only: after merge, android-release.yml with dry_run=true first. A main push does not mint an APK.

## Summary - UniFFI wallet surface: balance, receive address, recent transfers, one-shot `send_invoice` / `send_tip` (fail-closed, not outbox). - Compose Wallet route: QR for the receive address, invoice/tip composers. Wipe chat stays on the roster. - SDK lockfile includes `qrcode` so `cargo test --locked` in the SDK CI job matches root `Cargo.toml`. - Forgejo release/API calls use HTTP Basic (`sirius` + token); Bearer is rejected on this instance. - `android/.cargo/` is gitignored (machine-local NDK linker paths). ## Verify - `cargo test --locked` + `clippy -D warnings` in `crates/onionwire-sdk` (host): 21 tests pass. - `./gradlew :app:compileDebugKotlin :app:testDebugUnitTest`: BUILD SUCCESSFUL. Android APK is dispatch-only: after merge, `android-release.yml` with `dry_run=true` first. A `main` push does not mint an APK.
Bearer is rejected on this instance (403/1010). Use sirius + token, matching
the dispatch path that actually works.
feat(android): wallet screen and SDK payment surface
Some checks failed
ci / test (pull_request) Failing after 4m1s
ci / sdk (pull_request) Successful in 1m27s
7cf98bb9fe
Expose wallet balance/address/transfers plus one-shot invoice and tip on
the UniFFI SDK. Wire a Compose wallet route (QR, composers) without dropping
wipe-chat. Ignore machine-local android/.cargo NDK paths.
fix(tui): clippy question_mark / unwrap_or_default in open_wallet
All checks were successful
ci / test (pull_request) Successful in 4m8s
ci / sdk (pull_request) Successful in 1m2s
9c4067d09e
CI clippy -D warnings failed on the match arms in src/tui.rs:1603.
sirius merged commit 11510d3993 into main 2026-09-13 19:48:00 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sirius/onionwire!65
No description provided.