• v1.4.15 41525ee251

    v1.4.15 Stable

    ci-publisher released this 2026-10-28 09:50:54 +00:00 | 0 commits to main since this release

    v1.4.15

    Changelog

    Changelog

    Release notes for Wozinga Business iPad. The TestFlight "what to test" notes are built from this file
    by .forgejo/workflows/ios-release.yml when a tag has no commit range to summarise.

    Unreleased

    Added

    • Finance → Payment Links lets a signed-in customer create, list, copy, and revoke USDT payment links (Solana or Tron). CRM emails the payer. The screen stays visible when the CRM flag is off.
    • P2P proof Photo Library opens the system picker on iPad and Android; one photo uploads on the existing deal-room path; cancel is silent; permission denied explains Settings.
    • UX polish: the P2P deal-thread proof bar uses House tokens (brandCta / onAccent, success banner, 4px spacing, type 12). Loading shows a spinner; keyboard focus is a 2pt onAccent ring; notified uses textMuted on cardBackground. Source, permission, error, and success stay Alert.alert (ADR-SUB-018). Compact row with wrapping hint and trailing button is unchanged.
    • Settings → Account Verify sends POST /api/customers/me/resend-verification-email for the signed-in customer; the badge follows CRM isEmailVerified.
    • CRM invoices on iPad can create-and-issue, void an issued or overdue invoice, and post collection status using the same CRM contract as desktop. Status stays server-owned. Create sends an Idempotency-Key; a write with no HTTP status is unknown-result (Refresh, never Retry). Pending submission stays empty because there is no CRM outbox.
    • UX polish (WBI-069): create, void, and collection sheets keep the primary fill while busy (onAccent spinner on brandCta / dangerCta); calendar, steppers, and chips show a 2px text focus ring; helper copy sits under wallet, signature, and paid-time; Esc closes via ModalKeyHandler (Return does not submit). Evidence: docs/ux-review/INVOICES_WRITE_STATES.md.
    • Matomo visits include the signed-in person's name from portal login (displayName: first and last name). The user id stays the CRM customer id. The name is visit custom dimension 1 and is removed on sign-out. An email-shaped name is not sent.

    Changed

    • UX polish (Payment Links): create sheet drops the nested card; brand CTAs use a 2px onAccent focus ring; Revoke confirm fills dangerCta; list actions wrap on one row; amount sits at the start in RTL; field helpers no longer reserve a blank line; disabled fields keep text on disabledBg (AA). Loading, error, offline, validation, creating, and focus were rendered. Evidence: docs/ux-review/PAYMENT_LINKS_STATES.md.
    • UX polish (Master Wallet picker): Select master wallet uses muted row meta and empty helper (textMuted on cardBackground), House Space[12] list gap, title weight 900, and a visible 2pt actionBtnPrimary focus ring on the row, Enable, and Close. Evidence: docs/ux-review/MASTER_WALLET_PICKER_STATES.md.
    • UX polish (Terminal wallets): a failed SOL/TRX/ETH/BTC/USDT balance read uses the calm warning banner and stacks native + USDT at 375pt Slide Over so the copy stays readable; Retry keeps a 40pt target and a 2px text focus ring. Evidence: docs/ux-review/TERMINAL_WALLETS_BALANCE_STATES.md.
    • iPad Cash Out is credits-only bank payout. Crypto withdraw is removed from this screen. Deposit-style CRM addresses are a separate Deposit addresses tab for moving USDT into credits — they are not a debit source and they do not start a cash-out. The bank POST body from this screen is exactly { amountUsdt, bankAccountId }. Desktop Electron still requires a named Solana custodian (recorded divergence).
    • UX polish (Cash Out): deposit addresses wrap at 375pt (ZWSP every 4 characters on the displayed run; Copy still writes the raw address); Copy stacks below the address on a compact page and stays outline/ghost; RTL start-aligns the row while the hex stays LTR; loading, empty, error, copy-success, and disabled-with-reason are house-styled. Evidence: docs/ux-review/CASHOUT_BANK_STATES.md.
    • UX polish (Subscriptions): keyboard focus is a 2px ring on tabs, Configure, reload, search, and Check payments; compact 375pt Slide Over wraps the title and summary row; search fields are labelled from existing copy; the loading overlay follows the theme. Evidence: docs/ux-review/SUBSCRIPTIONS_PAGE_STATES.md.
    • Settings no longer has a Banks tab; bank accounts stay on Finance → Add Bank.
    • UX polish (Settings tabs): Settings paints three in-page pills (Account, Security, Appearance). The 375pt Slide Over / iPhone row wraps 2+1; 768pt and 1280pt sit three across. Wrap, tokens, and the 2px focus ring stay. No Settings banks empty state. Evidence: docs/ux-review/SETTINGS_VERSION_STATES.md.
    • UX polish (Enable wallet): the Enable-wallet sheet uses house tokens, ListStateBanner / ActionResultBanner (no Alert.alert), a visible 2px focus ring, Esc via ModalKeyHandler, and labelled loading / empty / error / success / disabled states. Evidence: docs/ux-review/ENABLE_WALLET_STATES.md.
    • UX polish (Settings Verify email): Account Verify uses infoCta + a 2px onAccent focus ring that recolours rather than widening; the Unverified badge fills background so it reads on the card; the email field is labelled. Loading, unverified, verified, busy, success, and session / offline / 429 / server banners were rendered. Evidence: docs/ux-review/SETTINGS_VERIFY_EMAIL_STATES.md.

    Fixed

    • Master Wallet select dialog now uses the shared 600 / window−64 ceiling and a scrolling list, so twelve (or more) wallets keep the title and Close on screen.
    • Terminal wallet rows show a calm warning when SOL, TRX, ETH, BTC, or USDT cannot be loaded just now, with Retry; a failed native read also stops the USDT spinner on that row.
    • Remaining wallet-selection dialogs (cash-out, P2P, payroll) keep a fixed window-derived viewport and the list scrolls inside the sheet, so a long wallet list no longer covers the title, close control, or search/filters.
    • Subscriptions in the sidebar and dashboard opens the local subscriptions screen; inner tabs stay up including empty and failed Realm load.
    • Enable wallet no longer fails with the iOS Keychain passphrase sheet after a matching Preview. The write uses username wallet, device-bound accessibility, biometry-or-passcode access control, and prompt title "Enable wallet"; list locked-state uses the Realm keychain ref instead of decrypting the envelope.
    • Enable wallet Keychain save succeeds on Master, Family, and Terminal locked wallets, including Mac Designed for iPad with device passcode when biometry is unavailable; Keychain auth failures show in-app copy, not the OS username/passphrase sheet.

    1.4.15 — iPhone, iPad, and Android CI/CD (PR 153)

    • The app ships to iPhone and iPad. TARGETED_DEVICE_FAMILY is "1,2"; iOS CI and TestFlight fail unless archived UIDeviceFamily digits are "12".
    • Android CI builds an arm64 debug APK. There is no Play Store upload.
    • Android test builds go to Firebase App Distribution (npm run distribute:android) — project wozinga-business-app, app 1:358230164881:android:948600cfbc11b127c90630, package com.wozingabusinessappipad, tester group internal-testing-group.
    • iPhone and iPad test builds stay on TestFlight. Bundle com.wozinga.business-app.
    • ADR-SUB-012: iPhone + Android distribution is an accepted override of ADR-SUB-002 (iPad-only).

    Matomo analytics — idSite 6, raw CRM user UUID

    Decision: Release / TestFlight builds (__DEV__ === false) report to Matomo idSite 6 at https://analytics.wozinga.com/matomo.php with the raw CRM internal user UUID (unhashed, never email / name / phone) as userId, screen URLs prefixed app://business/<screen>, and a closed event list of auth/login and auth/logout. Debug / __DEV__ builds send nothing. This increment does not change TARGETED_DEVICE_FAMILY or the TestFlight UIDeviceFamily == 2 gate (ADR-SUB-002 remains the shipped binary).

    • Tracker URL: https://analytics.wozinga.com/matomo.php. Site id from MATOMO_SITE_ID, default 6 (shared User IDs report with my.wozinga.com).
    • userId is CrmPortalLoginResponse.user.id unchanged so a login is lookup-able in the CRM. Email, name, and phone never appear as Matomo userId. The portal-login displayName is visit custom dimension 1.
    • Screen views: app://business/login, app://business/dashboard, and every signed-in NavId.
    • Logout emits auth/logout then clears and rotates the visitor id; later hits are anonymous.
    • Debug builds (__DEV__, iOS CI -configuration Debug) emit zero Matomo requests. Native SDKs are still linked so Debug compiles.
    • PrivacyInfo: User ID gains purpose Analytics (keeps App Functionality); Name is collected for Analytics (the display name on dimension 1, linked, not tracking); Product Interaction is added (Analytics, linked, not tracking). NSPrivacyTracking stays false. No ATT.
    • Paste-ready store questionnaires: docs/privacy/app-store-privacy-labels.md and docs/privacy/play-data-safety.md.
    • What to test: a Release login of a test CRM user appears in Matomo User IDs for idSite 6 as the raw UUID; app://business/dashboard is recorded; logout clears userId; a Debug build sends nothing.
    • UX polish: the database boot gate uses house tokens and IncomingRouteStatus (loading / error / Try again). Raw error dumps and the #F15A24 spinner are gone. Analytics chrome is still silent — no Settings row, no UUID on screen.

    Cash Out to Bank — CRM credits or a custodian wallet (WBI-077)

    Decision: The bank (PHP) rail has two funding sources and the operator must choose one explicitly: CRM credits or a selected CRM custodial Solana (non-P2P) wallet. Neither is pre-selected. In credits mode the request body is exactly { amountUsdt, bankAccountId } and the ceiling comes from GET /api/customers/me/wallet, which is never cached; in custodian mode all four fields are required and the ceiling comes from that row's usdtBalance. Available USDT and Max read the active source's ceiling through one formatter, and the amount is validated against that ceiling. A withdrawable figure the client cannot resolve is reported as unavailable and blocks the submit — never as 0. Deposit-style custodial rows are excluded from the bank picker, which is explained in the picker rather than left as an absence.

    This supersedes the WBI-071 decision that the bank rail always required a named custodian wallet. That remains true for the custodian path; it is no longer true for the credits path. The WBI-071 sentence is kept as struck-through history in docs/parity/cashout-desktop-ipad.md.

    • Bank cash-out now starts with an explicit Source of funds choice: CRM credits, or a custodian wallet. Nothing is pre-selected.
    • In credits mode, Available USDT and Max follow GET /api/customers/me/wallet. The request body is exactly { amountUsdt, bankAccountId } — no wallet keys, never null.
    • In custodian mode the four-field body and per-wallet ceiling are unchanged.
    • A credits figure the client cannot resolve is unavailable and blocks submit; it is never shown as 0.
    • Deposit-style custodial rows are not listed in the bank picker, with a footnote explaining why. Other inventory screens still list every row.
    • What to test: open Cash Out → Bank transfer; confirm neither source is chosen; pick CRM credits and check Available / Max follow the credits figure; pick a custodian wallet and confirm the four-field confirm sheet; confirm deposit addresses are absent from the picker.
    • UX polish: the chosen source is an outlined chip with a start-side check, not a second filled CTA; credits confirm copy names CRM credits; credits loading shows readable copy under the skeleton; the all-deposit empty picker has a title.
    • UX polish (eleventh pass): stacked source chips at 375pt keep a 40pt tap target instead of stretching to 128pt; the bank hero names the chosen source (credits, custodian, or none); Max on a failed, unsupported, or zero credits read says so instead of asking the operator to wait for a load or naming a wallet.

    Custodian Wallets shows each chain's own native balance (WBI-CUST-NATIVE-01)

    Decision: A custodian row's native balance is labelled with the ticker of its own classified
    chain
    and valued from that chain's own CRM field — solBalance on Solana, trxBalance on
    Tron, ethBalance on Ethereum, btcBalance on Bitcoin. A chain the app cannot classify shows no
    ticker and no figure
    . A field CRM did not send reads "Not loaded", never 0; a field CRM sent
    that is not a usable quantity reads "Unavailable", never 0; a real 0 is shown as a figure.
    The cross-chain "Total SOL" summary is replaced by a per-chain Native balances card that
    never sums two chains together.

    • Fixed: a Tron, Ethereum or Bitcoin wallet is no longer told it holds SOL. Every row used to
      print the literal ticker SOL over Solana's balance field, whatever chain the wallet was on — so
      a Tron wallet's real TRX balance was never shown anywhere on the screen, and Ethereum and Bitcoin
      rows read 0 SOL for money the app had never read.
    • Fixed: the summary no longer presents a cross-chain sum as one token. "Total SOL" added up
      solBalance across Solana, Tron, Ethereum and Bitcoin alike. The Native balances card now
      lists one line per chain actually present, each summing only its own rows. A Tron-only set shows
      a TRX line and no SOL line at all.
    • "Not loaded" and "0" are now different sentences. A balance CRM never sent is reported as
      absent, with the right ticker; a balance CRM reported as zero is shown as 0.00.
    • A wallet on an unrecognised chain says so, and its block-explorer button is disabled with the
      reason — rather than silently pointing a Solana explorer at a non-Solana address. Bitcoin rows
      now open a Bitcoin explorer.
    • The screen now has all five states. A first load shows a labelled progress card instead of a
      blank region under four confident zeros; a failed load shows house copy with a retry, in place of
      the CRM's own raw message; a completed refresh is confirmed inline; and the refresh control
      explains itself while disabled.
    • Balances, counts and dates now render in Latin digits under Arabic and Urdu, and follow the app's
      language rather than the device's.
    • The bank cash-out rail is untouched: it stays Solana-only and its payout ceiling still comes from
      usdtBalance.

    Custodian Wallets now meets the House UI & UX standard end to end

    Decision: The whole Custodian Wallets screen — not only the regions the native-balance fix was
    allowed to touch — is now built from the design tokens in src/theme/theme.ts. The screen carries
    no colour, spacing, radius or type size of its own, has one obvious primary action, and
    every control on it is keyboard-reachable, named, and at least 40pt. A contract test and a contrast
    gate fail the build if any of that regresses.

    • One primary action. Refresh was a 42pt icon-only button on a near-invisible fill, no louder
      than a filter chip. It is now the screen's only filled accent control, with a label; the USDT
      total beside it — the same figure the Total USDT card already shows — is a quiet outlined chip.
    • The search field has a visible label. It had a placeholder standing in for one, which
      disappears the moment anyone types.
    • The filter chips and the layout toggle are reachable. They were 38pt and 32pt, with no focus
      ring, no accessible name and no role, inside a sideways-scrolling strip that hid "Managed" at the
      Slide Over floor. They are now 40pt radio controls that wrap onto a second row, and the selected
      one is marked by a fill, a check glyph and its state — never by colour alone.
    • Contrast. The selected filter chip was white on teal at 2.49:1 and the keyboard focus ring
      was 2.52:1 on a light button — both below their floors. All 132 colour pairs the screen
      renders now clear WCAG AA in light and dark, computed from theme.ts by
      npm run ux:contrast:custnative.
    • Responsive. A wallet tile was a fixed 300pt box: 71pt of dead gutter in a 375pt pane, and no
      use of a 1280pt canvas. Tiles now take a share of the grid — one column below 600pt, two below
      1000, three below 1400, four above — and no tile on an incomplete row balloons to the full width.
      29 of 29 rendered scenes have no horizontal page scroll, every box graded at zero tolerance.
    • A figure the app has not read is never a number. The first load shows a skeleton in each stat
      card instead of "0" and "$0.00", and a failed load shows — rather than zeros under an error
      banner.
    • Disabled explains itself on screen. The reason Refresh is unavailable was in the accessibility
      tree only, where no sighted operator could reach it.

    Settings → Version is now a production-safe support screen (WBI-SET-VER-01)

    Decision: The Version tab shows only app identity, the version/build pill, Development Mode
    and the danger zone. All push-registration and portal-device diagnostics have been removed from it,
    along with every clipboard action. Nothing on this tab can display or copy a push token, a device
    id, the CRM host, or the portal-device payload.

    • The Version tab is now four blocks: the Wozinga Business identity card, a single
      v{version} ({build}) pill, the Development Mode switch, and the Danger zone with
      Reset and sign out. The long diagnostics table, the "Stable" pill, the three copy buttons
      (including copy full push token and copy portal payload), the refresh button and the
      Portal-device payload JSON card are gone.
    • The version and build now come from the app you are actually running, not from the source
      tree. The build number shown on a TestFlight install is now the real one, so it can be quoted to
      support.
    • Opening Version no longer touches the network and no longer starts any push-notification work.
      The tab is fully usable offline. Device registration for push is unaffected — it still happens at
      sign-in, as before.
    • Fixed: visiting the dashboard (and then Settings) used to silently switch off push-token
      refresh for the rest of the session. Both screens were detaching a listener they shared with the
      push system. That no longer happens.
    • Reset and sign out now shows a spinner and "Signing out…" while it works, and is disabled
      until it finishes. If it fails, the reason appears in a styled banner on the screen with a
      Retry — instead of a pop-up alert. The confirmation dialog and what the action actually does
      are unchanged.
    • The Direct RPC fallback toggle has moved to Settings → Security, in a Developer options
      card that appears only while Development Mode is on. It does exactly what it did before.
    • The surviving screen was repainted to the house palette: the destructive button, the danger
      heading and the warning box all now meet AA contrast in both light and dark mode, the header
      Version button is a full-size tap target with a visible keyboard focus ring, and the tab reads
      right-to-left correctly in Arabic and Urdu.
    • Fixed, and visible on every Settings tab: the Account / Security / Appearance / Banks row
      used to run off the edge of a narrow Slide Over pane — "Appearance" was cut in half and "Banks"
      could not be reached at all. The four buttons now wrap onto a second line instead. They also got
      a readable selected colour, a full-size tap target, a visible keyboard focus ring, and they now
      appear in the right order in Arabic and Urdu.
    • Development Mode no longer flashes the wrong answer. Its setting is read from the device a
      moment after the screen opens; until it arrives the row shows a placeholder and the switch is
      disabled, rather than briefly claiming the mode is off.
    • What to test: open Settings → Version; confirm you see only the four blocks and no token,
      payload, CRM address or copy button anywhere; check the pill matches the TestFlight build number
      you installed; drag the app into a narrow Slide Over pane and confirm all four tab buttons are
      reachable and nothing runs off the edge; toggle Development Mode and confirm the helper line flips
      and that Developer options → Direct RPC fallback appears on the Security tab only while it is
      on; switch to Arabic and confirm the header, tabs and cards read right-to-left; put the iPad in
      Airplane Mode and confirm the tab still opens normally; press Reset and sign out, cancel it,
      then run it for real on a test device and confirm you land back at the login screen.

    Cash Out — bank payouts now come from a custodian wallet you choose (WBI-071)

    Decision: The bank (PHP) rail requires an explicitly selected CRM custodial Solana (non-P2P)
    wallet. walletAddressId and walletAddress are required on submit. Available USDT and Max
    come from that row's usdtBalance. Amount is validated against the selected wallet's balance.

    This supersedes the previous decision recorded in docs/parity/cashout-desktop-ipad.md ("CRM
    balance model authoritative; wallet fields additive-only on explicit custodian selection"), which
    rested on a client-side comment that described the two wallet fields as ignored by the backend. The
    CRM debits the specific Solana custodial wallet named by walletAddressId, so that comment was
    wrong and has been corrected.

    • Bank cash-out now starts with a Custodian wallet (Solana) picker, matching Wozinga Business
    Downloads
  • v1.4.14 41525ee251

    v1.4.14 Stable

    ci-publisher released this 2026-10-11 04:32:48 +00:00 | 0 commits to main since this release

    v1.4.14

    Changelog

    Changelog

    Release notes for Wozinga Business iPad. The TestFlight "what to test" notes are built from this file
    by .forgejo/workflows/ios-release.yml when a tag has no commit range to summarise.

    Unreleased

    Matomo analytics — idSite 6, raw CRM user UUID

    Decision: Release / TestFlight builds (__DEV__ === false) report to Matomo idSite 6 at https://analytics.wozinga.com/matomo.php with the raw CRM internal user UUID (unhashed, never email / name / phone) as userId, screen URLs prefixed app://business/<screen>, and a closed event list of auth/login and auth/logout. Debug / __DEV__ builds send nothing. This increment does not change TARGETED_DEVICE_FAMILY or the TestFlight UIDeviceFamily == 2 gate (ADR-SUB-002 remains the shipped binary).

    • Tracker URL: https://analytics.wozinga.com/matomo.php. Site id from MATOMO_SITE_ID, default 6 (shared User IDs report with my.wozinga.com).
    • userId is CrmPortalLoginResponse.user.id unchanged so a login is lookup-able in the CRM. Email, name, and phone never appear as Matomo userId.
    • Screen views: app://business/login, app://business/dashboard, and every signed-in NavId.
    • Logout emits auth/logout then clears and rotates the visitor id; later hits are anonymous.
    • Debug builds (__DEV__, iOS CI -configuration Debug) emit zero Matomo requests. Native SDKs are still linked so Debug compiles.
    • PrivacyInfo: User ID gains purpose Analytics (keeps App Functionality); Product Interaction is added (Analytics, linked, not tracking). NSPrivacyTracking stays false. No ATT.
    • Paste-ready store questionnaires: docs/privacy/app-store-privacy-labels.md and docs/privacy/play-data-safety.md.
    • What to test: a Release login of a test CRM user appears in Matomo User IDs for idSite 6 as the raw UUID; app://business/dashboard is recorded; logout clears userId; a Debug build sends nothing.
    • UX polish: the database boot gate uses house tokens and IncomingRouteStatus (loading / error / Try again). Raw error dumps and the #F15A24 spinner are gone. Analytics chrome is still silent — no Settings row, no UUID on screen.

    Cash Out to Bank — CRM credits or a custodian wallet (WBI-077)

    Decision: The bank (PHP) rail has two funding sources and the operator must choose one explicitly: CRM credits or a selected CRM custodial Solana (non-P2P) wallet. Neither is pre-selected. In credits mode the request body is exactly { amountUsdt, bankAccountId } and the ceiling comes from GET /api/customers/me/wallet, which is never cached; in custodian mode all four fields are required and the ceiling comes from that row's usdtBalance. Available USDT and Max read the active source's ceiling through one formatter, and the amount is validated against that ceiling. A withdrawable figure the client cannot resolve is reported as unavailable and blocks the submit — never as 0. Deposit-style custodial rows are excluded from the bank picker, which is explained in the picker rather than left as an absence.

    This supersedes the WBI-071 decision that the bank rail always required a named custodian wallet. That remains true for the custodian path; it is no longer true for the credits path. The WBI-071 sentence is kept as struck-through history in docs/parity/cashout-desktop-ipad.md.

    • Bank cash-out now starts with an explicit Source of funds choice: CRM credits, or a custodian wallet. Nothing is pre-selected.
    • In credits mode, Available USDT and Max follow GET /api/customers/me/wallet. The request body is exactly { amountUsdt, bankAccountId } — no wallet keys, never null.
    • In custodian mode the four-field body and per-wallet ceiling are unchanged.
    • A credits figure the client cannot resolve is unavailable and blocks submit; it is never shown as 0.
    • Deposit-style custodial rows are not listed in the bank picker, with a footnote explaining why. Other inventory screens still list every row.
    • What to test: open Cash Out → Bank transfer; confirm neither source is chosen; pick CRM credits and check Available / Max follow the credits figure; pick a custodian wallet and confirm the four-field confirm sheet; confirm deposit addresses are absent from the picker.
    • UX polish: the chosen source is an outlined chip with a start-side check, not a second filled CTA; credits confirm copy names CRM credits; credits loading shows readable copy under the skeleton; the all-deposit empty picker has a title.

    Custodian Wallets shows each chain's own native balance (WBI-CUST-NATIVE-01)

    Decision: A custodian row's native balance is labelled with the ticker of its own classified
    chain
    and valued from that chain's own CRM field — solBalance on Solana, trxBalance on
    Tron, ethBalance on Ethereum, btcBalance on Bitcoin. A chain the app cannot classify shows no
    ticker and no figure
    . A field CRM did not send reads "Not loaded", never 0; a field CRM sent
    that is not a usable quantity reads "Unavailable", never 0; a real 0 is shown as a figure.
    The cross-chain "Total SOL" summary is replaced by a per-chain Native balances card that
    never sums two chains together.

    • Fixed: a Tron, Ethereum or Bitcoin wallet is no longer told it holds SOL. Every row used to
      print the literal ticker SOL over Solana's balance field, whatever chain the wallet was on — so
      a Tron wallet's real TRX balance was never shown anywhere on the screen, and Ethereum and Bitcoin
      rows read 0 SOL for money the app had never read.
    • Fixed: the summary no longer presents a cross-chain sum as one token. "Total SOL" added up
      solBalance across Solana, Tron, Ethereum and Bitcoin alike. The Native balances card now
      lists one line per chain actually present, each summing only its own rows. A Tron-only set shows
      a TRX line and no SOL line at all.
    • "Not loaded" and "0" are now different sentences. A balance CRM never sent is reported as
      absent, with the right ticker; a balance CRM reported as zero is shown as 0.00.
    • A wallet on an unrecognised chain says so, and its block-explorer button is disabled with the
      reason — rather than silently pointing a Solana explorer at a non-Solana address. Bitcoin rows
      now open a Bitcoin explorer.
    • The screen now has all five states. A first load shows a labelled progress card instead of a
      blank region under four confident zeros; a failed load shows house copy with a retry, in place of
      the CRM's own raw message; a completed refresh is confirmed inline; and the refresh control
      explains itself while disabled.
    • Balances, counts and dates now render in Latin digits under Arabic and Urdu, and follow the app's
      language rather than the device's.
    • The bank cash-out rail is untouched: it stays Solana-only and its payout ceiling still comes from
      usdtBalance.

    Custodian Wallets now meets the House UI & UX standard end to end

    Decision: The whole Custodian Wallets screen — not only the regions the native-balance fix was
    allowed to touch — is now built from the design tokens in src/theme/theme.ts. The screen carries
    no colour, spacing, radius or type size of its own, has one obvious primary action, and
    every control on it is keyboard-reachable, named, and at least 40pt. A contract test and a contrast
    gate fail the build if any of that regresses.

    • One primary action. Refresh was a 42pt icon-only button on a near-invisible fill, no louder
      than a filter chip. It is now the screen's only filled accent control, with a label; the USDT
      total beside it — the same figure the Total USDT card already shows — is a quiet outlined chip.
    • The search field has a visible label. It had a placeholder standing in for one, which
      disappears the moment anyone types.
    • The filter chips and the layout toggle are reachable. They were 38pt and 32pt, with no focus
      ring, no accessible name and no role, inside a sideways-scrolling strip that hid "Managed" at the
      Slide Over floor. They are now 40pt radio controls that wrap onto a second row, and the selected
      one is marked by a fill, a check glyph and its state — never by colour alone.
    • Contrast. The selected filter chip was white on teal at 2.49:1 and the keyboard focus ring
      was 2.52:1 on a light button — both below their floors. All 132 colour pairs the screen
      renders now clear WCAG AA in light and dark, computed from theme.ts by
      npm run ux:contrast:custnative.
    • Responsive. A wallet tile was a fixed 300pt box: 71pt of dead gutter in a 375pt pane, and no
      use of a 1280pt canvas. Tiles now take a share of the grid — one column below 600pt, two below
      1000, three below 1400, four above — and no tile on an incomplete row balloons to the full width.
      29 of 29 rendered scenes have no horizontal page scroll, every box graded at zero tolerance.
    • A figure the app has not read is never a number. The first load shows a skeleton in each stat
      card instead of "0" and "$0.00", and a failed load shows — rather than zeros under an error
      banner.
    • Disabled explains itself on screen. The reason Refresh is unavailable was in the accessibility
      tree only, where no sighted operator could reach it.

    Settings → Version is now a production-safe support screen (WBI-SET-VER-01)

    Decision: The Version tab shows only app identity, the version/build pill, Development Mode
    and the danger zone. All push-registration and portal-device diagnostics have been removed from it,
    along with every clipboard action. Nothing on this tab can display or copy a push token, a device
    id, the CRM host, or the portal-device payload.

    • The Version tab is now four blocks: the Wozinga Business identity card, a single
      v{version} ({build}) pill, the Development Mode switch, and the Danger zone with
      Reset and sign out. The long diagnostics table, the "Stable" pill, the three copy buttons
      (including copy full push token and copy portal payload), the refresh button and the
      Portal-device payload JSON card are gone.
    • The version and build now come from the app you are actually running, not from the source
      tree. The build number shown on a TestFlight install is now the real one, so it can be quoted to
      support.
    • Opening Version no longer touches the network and no longer starts any push-notification work.
      The tab is fully usable offline. Device registration for push is unaffected — it still happens at
      sign-in, as before.
    • Fixed: visiting the dashboard (and then Settings) used to silently switch off push-token
      refresh for the rest of the session. Both screens were detaching a listener they shared with the
      push system. That no longer happens.
    • Reset and sign out now shows a spinner and "Signing out…" while it works, and is disabled
      until it finishes. If it fails, the reason appears in a styled banner on the screen with a
      Retry — instead of a pop-up alert. The confirmation dialog and what the action actually does
      are unchanged.
    • The Direct RPC fallback toggle has moved to Settings → Security, in a Developer options
      card that appears only while Development Mode is on. It does exactly what it did before.
    • The surviving screen was repainted to the house palette: the destructive button, the danger
      heading and the warning box all now meet AA contrast in both light and dark mode, the header
      Version button is a full-size tap target with a visible keyboard focus ring, and the tab reads
      right-to-left correctly in Arabic and Urdu.
    • Fixed, and visible on every Settings tab: the Account / Security / Appearance / Banks row
      used to run off the edge of a narrow Slide Over pane — "Appearance" was cut in half and "Banks"
      could not be reached at all. The four buttons now wrap onto a second line instead. They also got
      a readable selected colour, a full-size tap target, a visible keyboard focus ring, and they now
      appear in the right order in Arabic and Urdu.
    • Development Mode no longer flashes the wrong answer. Its setting is read from the device a
      moment after the screen opens; until it arrives the row shows a placeholder and the switch is
      disabled, rather than briefly claiming the mode is off.
    • What to test: open Settings → Version; confirm you see only the four blocks and no token,
      payload, CRM address or copy button anywhere; check the pill matches the TestFlight build number
      you installed; drag the app into a narrow Slide Over pane and confirm all four tab buttons are
      reachable and nothing runs off the edge; toggle Development Mode and confirm the helper line flips
      and that Developer options → Direct RPC fallback appears on the Security tab only while it is
      on; switch to Arabic and confirm the header, tabs and cards read right-to-left; put the iPad in
      Airplane Mode and confirm the tab still opens normally; press Reset and sign out, cancel it,
      then run it for real on a test device and confirm you land back at the login screen.

    Cash Out — bank payouts now come from a custodian wallet you choose (WBI-071)

    Decision: The bank (PHP) rail requires an explicitly selected CRM custodial Solana (non-P2P)
    wallet. walletAddressId and walletAddress are required on submit. Available USDT and Max
    come from that row's usdtBalance. Amount is validated against the selected wallet's balance.

    This supersedes the previous decision recorded in docs/parity/cashout-desktop-ipad.md ("CRM
    balance model authoritative; wallet fields additive-only on explicit custodian selection"), which
    rested on a client-side comment that described the two wallet fields as ignored by the backend. The
    CRM debits the specific Solana custodial wallet named by walletAddressId, so that comment was
    wrong and has been corrected.

    • Bank cash-out now starts with a Custodian wallet (Solana) picker, matching Wozinga Business
      Desktop. Nothing is pre-selected: on a screen that debits one named wallet, choosing it is your
      decision, not the app's.
    • Available USDT and the Max button now follow the wallet you picked. A wallet whose balance
      is zero says Available USDT: 0 USDT, disables Max with the reason, and blocks the submit — it
      does not quietly fall back to a pooled figure. Entering more than that wallet holds is refused
      before anything is sent.
    • Wallets that cannot fund a payout — suspended, disabled, or missing their wallet ID — are
      shown in the list and disabled, each with a lock badge and a sentence saying why. They are not
      hidden, so you can see the wallet exists and report it.
    • The field order now matches Desktop: wallet → available balance → amount → Max → estimated bank
      withdrawal → destination bank account → submit. The old pooled-balance card is gone.
    • The rate footnote now names the country as well as the rate: "Based on 1 USDT ≈ ₱63.39 for
      Philippines."
    • The review sheet before you confirm now states which wallet the money leaves from, as well as
      where it is going.
    • If your wallet list cannot be loaded, the picker says so and offers a retry, and the rest of the
      screen keeps working. Submitting still never offers a retry — that request is not safe to repeat.
    • What to test: open Cash Out → Bank transfer; check the wallet picker lists your Solana
      custodian wallets with their balances; pick one and confirm Available USDT and Max follow it;
      pick a zero-balance wallet and confirm Max is disabled with a reason and the submit is blocked;
      try an amount above the wallet's balance; then complete a real cash-out and check the review sheet
      names the source wallet.

    Cash Out — the bank payout estimate now matches Desktop

    • The estimated payout on the bank screen is now worked out in the currency of the country your
      bank account is in, the same way Wozinga Business Desktop does it. Ten countries are mapped —
      Australia, Canada, Hong Kong, Japan, New Zealand, the Philippines, Singapore, the UAE, the UK and
      the US — and an account in a country outside that list is estimated in US dollars rather than
      silently falling back to pesos. India is on that "outside" list: you can still save an
      Indian bank account, but its estimate now reads in USD, not INR, until India is added to the
      shared country table.
    • When the market rate cannot be fetched, the screen now says so in one short line under the
      estimate — "Market rate unavailable: no connection to the rate service" — instead of leaving you
      to guess why the figure is missing or out of date. A rate that could not be refreshed still shows
      its last known value, clearly labelled, and is not repeated on the review sheet.
    • The estimate box no longer asks you to "enter an amount" when you already have. While the rate
      is being fetched it says it is working out your estimate; when there is no rate it says so once,
      instead of twice.
    • What to test: open Cash Out → Bank transfer, pick an account and check the estimate is in that
      account's currency; turn Wi-Fi off and reopen the screen to see the "market rate unavailable" line;
    Downloads