onionwire/android/app/src/main
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent 3cd70ca9b5
All checks were successful
android-ci / android (pull_request) Successful in 11m51s
android wallet: self-heal the stored wallet_rpc_bin, gate Start/Create, one info banner
Device report (v0.7.0): Start died with `spawn monero-wallet-rpc: No such
file or directory`, and Create answered with the desktop TUI's `wallet not
configured — open F7 …`. Both were reachable states on the phone, so the
screen offered two dead ends.

- WireViewModel: `healStoredWalletBin()` re-points a stored wallet_rpc_bin
  that this device cannot execute at the resolved nativeLibraryDir path,
  preserving kind/mode/host/port/datadir/filename, skipping receive-only,
  and never overwriting a stored path that is a real executable file. It
  runs on wallet-screen open and again at the top of `startWalletChild()`,
  which then re-reads the stored record and refuses to spawn when the path
  still cannot run — writing the named path instead of ENOENT.
- Gate: `startGateReason()` = existing `startBlockedReason()` plus
  `storedWalletBinBlockedReason()`, which names the stored path, the
  resolved path, or the absent-binary message (unchanged strings).
  `shouldStartAfterSelectingChain()` now takes that reason, so a mode tap
  stores the source but cannot launch what Start would refuse.
- Create/Import: `walletSetupBlockedReason()` disables both controls with a
  sentence until the child answers; the TUI's unconfigured copy is mapped by
  `walletFailureText` to a phone sentence, so `open F7` and
  ONIONWIRE_WALLET_RPC never render.
- Banner: `walletFailureBanner()` paints `WALLET_NOT_OPEN_TEXT` as one info
  banner (or nothing when the No-wallet-open hint is already up), never as
  the red `Wallet error`; the sticky error is cleared when a wallet opens.
  Real failures (connect refusals, exited) still paint red.

Tests: 241/241 `:app:testDebugUnitTest`, including the four required cases.
Not verified on a device — no adb/device on this host.
2026-10-31 01:10:34 -04:00
..
java/com/siriusdevops/onionwire android wallet: self-heal the stored wallet_rpc_bin, gate Start/Create, one info banner 2026-10-31 01:10:34 -04:00
jniLibs/arm64-v8a android: start/stop the monero-wallet-rpc child from WalletScreen, bundle the binary 2026-09-18 10:20:08 -04:00
res ui: design tokens and the shared component set (plan P1) 2026-10-28 23:51:29 -04:00
AndroidManifest.xml fix(android): make the new launcher icon actually show up as an adaptive icon 2026-09-14 22:16:24 -04:00