Bitcoin send fix, Arkade claims and UK bank payments
TLDR
10 PRs merged, 12 commits across all branches, 10 PRs opened, 4 repos (the Nuri app: 14, the banking server: 9, the Arkade server: 7, the swap server: 2), 14 deployments, +9,902 / -5,266 lines of code, 3 features worked on.
The biggest thing was a fix for Bitcoin sends that broke on phones with v0.109.0, plus moving the app and two servers to Arkade SDK 0.5.3 so Lightning claims keep working. UK accounts and a new recipient step in Send are open PRs, not merged yet.
Bitcoin send fix in v0.109.1
Since the v0.109.0 update, Bitcoin sends, Arkade claims and renewals failed in the iOS and Android app with “undefined is not a function”. We saw it in support reports from 3 Nov, the browser was not affected. A library update in v0.109.0 calls a string function that exists on the build machine but not in the JavaScript engine on the phone. I added that function to the app before any library loads, and I reproduced the exact phone error on the app’s own engine without the fix and a working send with it.
v0.109.1 is merged, also with the Bank and Cards photo showing again on Safari web. It is JS only, so it goes out as an over-the-air update. A send on a real iPhone and Android after the update is still open.
Arkade SDK 0.5.3 for Lightning claims
Arkade’s hosted server now refuses a Lightning swap claim whose checkpoints are missing the preimage. The SDK fixed its own submit in 0.5.3, but our app builds and sends its own claim transactions, so the bump alone did not cover it. The app now puts the preimage on each checkpoint, a refund stays as is, and new tests on real checkpoint transactions pass. This went into v0.110.0, which is merged.
On the swap server I made the same fix in the submit relay, merged and deployed, and its check now fails on the old code and passes on the new one. The Arkade server only needed the version bump and it is live on 0.5.3. A real funded Lightning claim after the update is still not proven on any of the three. The sandbox of the Arkade server also got main merged in and now runs on the real network with its own keys.
Card withdrawals, card history and 3DS
A card withdrawal that stopped after its first step stayed pending for 24 hours, although nothing moved and it could never complete. The app now releases it when the server says the withdrawal expired or failed, and keeps it locked on anything unclear, so no withdrawal that actually moved money gets released. The server part that sends the expired answer is merged but not deployed yet, until then the app behaves as before for that case.
Card withdrawals to Cash were missing from the card history and showed “From someone” in Cash. Now they show in both, “From Visa & Banking” in Cash and “To your wallet” on the card. I checked this against real card accounts on production, a small withdrawal on a device is still open.
On the Nuri web app a 3DS approval during a card checkout only showed after a reload. The web app now checks every 10 seconds while it is open and you have a card, it never opens a login prompt for that and approving still needs your signature. Not tested end to end with a real 3DS checkout yet.
eSIM plans for Europe and South East Asia
Buying or topping up most Europe plans and every South East Asia plan failed because the provider only accepts those plans under a different name than its own catalog shows. The app now sends the name it accepts, same plan and same price. Top-ups and South East Asia sizes other than 1 GB are not live tested.
UK accounts and the new send step
UK residents get a card and a euro IBAN but no UK account and no way to pay a UK bank account. Open PRs on the banking server and in the app add the UK account with sort code and account number, saved UK payees and sending pounds to them. Nothing changes for anyone outside the UK. None of it is merged.
The recipient step in Send is rebuilt in an open PR: a search, the 3 people you picked last, a badge for each contact’s account type, a New recipient sheet for Nuri users, bank accounts, Bitcoin wallets, cards and mobile money, and “Save as contact” on the confirm screen. I also opened a PR with the text for the key backup prompt in all 12 languages, and one that says Lightning receive is paused instead of showing a Try again that can never work. Neither is in a release yet.