Card withdrawal fallback, golf bags, stats and guidance
TLDR
1 PR merged, 1 PR opened, 0 commits across all branches, 2 repos (the Nuri app: 1, openflight: 1), 2 deployments and +2,681 / -9 lines of code. I worked on 7 features.
In the Nuri app, a card withdrawal now goes straight onchain when the Wirex route is down. In openflight I opened a PR with German, editable Live tiles, bags, stats history, gapping and per-club guidance, which is not merged yet.
Card withdrawal straight onchain
This is merged in the Nuri app. Before, if you withdrew from your card to your wallet and the Wirex route was down (no connection, a timeout or a server error), the withdrawal just could not start. Now the app does the withdrawal itself, straight onchain. You see the same two approvals and the same flow, nothing else changes. Card currency swaps still only go through Wirex.
The fallback only kicks in before anything is signed. If you already approved a step on the normal route, that withdrawal finishes the normal way and the direct route never starts for it.
The app builds the same two steps the server would build, a request and then the final step after the delay, and your own wallet sends each one. The card account pays nothing and needs no ETH. Your wallet pays its own transaction and gets topped up with gas the same way as for normal Base sends. The final step only counts as done when it succeeded and the exact EURC or USDC transfer from the card to your wallet is in the receipt.
To make sure nobody pays out twice, the app records the final step before sending it, and that record survives logout and reset. While it is there, it blocks every other card withdrawal and swap and keeps the pending row, until the chain shows the withdrawal is settled. It never clears just because time passed, and if the chain can’t be read, the block stays. A half finished attempt gets finished, never requested a second time.
Types, lint and the full test suite are clean (381 files, 3,265 tests). The new tests run against real Base mainnet receipts, and on a copy of Base mainnet a zero fee step ran with the card account at 0 ETH and the wallet paying exactly its own gas. What is still open: there has been no mainnet withdrawal from the app yet, so the first small one from a device is the live proof, and the device pass with the Wirex route blocked is not done. A wallet with no ETH and none of the tokens the gas top up accepts can’t get gas, so it ends in the existing “Card withdrawal failed” state.
German, Live tiles and bags in openflight
All of this is in an open PR, not merged yet. German is now in the language picker with every string translated. Live tiles get an Edit tiles button, so you can drag them to reorder and tap to hide them, saved on the device per mode, with a Reset.
Each profile card has a Bag button where you pick up to 16 clubs on one screen, saved in the profile. With a bag set, the club picker only shows those clubs, longest first.
Stats history and gapping
The Stats screen now has Session, History and Gapping views. History reads every logged shot for the profile, so stats survive restarts and Clear session. Deleted shots are logged as deleted and left out, and mock shots only count in mock mode. Gapping shows per club the shot count, average carry, a carry range bar on one shared scale and the gap to the next club.
Club guidance
Live tiles show if smash factor, launch angle and spin are good, too low or too high for the selected club. The targets are TrackMan PGA Tour averages (2023 data, published May 2024) with wider bands for amateurs, and clubs TrackMan doesn’t publish (2i, 7W, GW, SW, LW) get no target. Start line and club path are named as left or right and in-to-out or out-to-in, attack angle as hit up for the driver and hit down for other clubs. A ? button explains every number.