Problem
MantecaAddMoney.tsx and [country]/bank/page.tsx use nuqs (useQueryStates) with history: 'push'. This syncs step/amount to URL params, but every keystroke in the amount field pushes a new history entry.
On Android WebView/PWA, this pollutes the navigation stack — pressing back navigates through previous amount states (e.g. "10" → "1" → "") instead of going to the previous page. This makes back/home buttons appear unresponsive.
This is the strongest candidate for the reported 'back button doesn't work' symptom.
Fix
Change { history: 'push' } to { history: 'replace' } in useQueryStates calls in:
src/components/AddMoney/components/MantecaAddMoney.tsx (line ~47)
src/app/(mobile-ui)/add-money/[country]/bank/page.tsx (line ~48)
Keep push only for step transitions (inputAmount → showDetails) where back navigation makes sense.
Context
User report: app freezes on add-money/withdraw screen, back button and home unresponsive. Reproducible on 2 Android devices.
Investigation: https://discord.com/channels/972435984954302464/1486336087747199059/1486337803708141588
Problem
MantecaAddMoney.tsxand[country]/bank/page.tsxusenuqs(useQueryStates) withhistory: 'push'. This syncs step/amount to URL params, but every keystroke in the amount field pushes a new history entry.On Android WebView/PWA, this pollutes the navigation stack — pressing back navigates through previous amount states (e.g. "10" → "1" → "") instead of going to the previous page. This makes back/home buttons appear unresponsive.
This is the strongest candidate for the reported 'back button doesn't work' symptom.
Fix
Change
{ history: 'push' }to{ history: 'replace' }inuseQueryStatescalls in:src/components/AddMoney/components/MantecaAddMoney.tsx(line ~47)src/app/(mobile-ui)/add-money/[country]/bank/page.tsx(line ~48)Keep
pushonly for step transitions (inputAmount → showDetails) where back navigation makes sense.Context
User report: app freezes on add-money/withdraw screen, back button and home unresponsive. Reproducible on 2 Android devices.
Investigation: https://discord.com/channels/972435984954302464/1486336087747199059/1486337803708141588