Add report fraud confirmation page when getting new virtual card#55278
Conversation
|
@shawnborton @alitoshmatov One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@alitoshmatov Fixed! |
|
Changes looks good, I hit rate limit while testing. Will get try again shortly |
|
@burczu I come across this issue where user might end up in navigation loop where it cannot go out of card info. Clicking on back button sends user to confirmation page Also I am not able to reproduce it consistently. Was able to reproduce 2 times, maybe I did something wrong Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2025-01-28.at.17.52.42.mp4 |
|
@alitoshmatov Hmmm... strange. I'll check it, thanks! |
|
@alitoshmatov Ok, I was able to reproduce it - it happens only if you refresh the page being on the confirmation page. I'll work on the fix. |
|
@alitoshmatov Fixed. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativehttps://github.com/user-attachments/assets/a136963f-0258-4f63-9cbb-aa9f494ca600Android: mWeb ChromeiOS: Nativefraud3-ios.mp4iOS: mWeb Safarifraud3-safari.mp4MacOS: Chrome / Safarifraud3-web.movMacOS: Desktopfraud3-desktop.mov |
mountiny
left a comment
There was a problem hiding this comment.
Thanks for patient work on this one, looks good to me!
|
🚧 @mountiny has triggered a test build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.92-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.92-6 🚀
|
| const {translate} = useLocalize(); | ||
|
|
||
| const close = useCallback(() => { | ||
| Navigation.navigate(ROUTES.SETTINGS_WALLET_DOMAINCARD.getRoute(cardID)); |
There was a problem hiding this comment.
Commenting for reference: This changes caused regression #56026
|
Commenting for reference. Not adding adding confirmation page to RHP mapping caused this regression #56023 |
| <HeaderWithBackButton | ||
| title={pageTitle} | ||
| onBackButtonPress={() => Navigation.goBack()} | ||
| onBackButtonPress={() => Navigation.navigate(ROUTES.SETTINGS_WALLET)} |
There was a problem hiding this comment.
Coming from this issue #58260, adding navigation here caused the app to get stuck in loop when accessing the assigned card from the Wallet page. Instead, we should have used goBack to navigate to SETTINGS_WALLET

Explanation of Change
In this PR we are fixing the issue with the "It's not here" 404 page is shown for a short period of time after successfully deactivating a virtual card and before redirecting back. Additionally, we are improving the UX of the deactivation flow by adding the confirmation modal after the successful deactivation
Fixed Issues
$ #53996
PROPOSAL: #53996 (comment)
Tests
Offline tests
Same as above.
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2025-01-23.at.09.17.54.mov
Android: mWeb Chrome
Screen.Recording.2025-01-23.at.09.24.34.mov
iOS: Native
Screen.Recording.2025-01-23.at.09.16.10.mov
iOS: mWeb Safari
Screen.Recording.2025-01-23.at.09.20.50.mov
MacOS: Chrome / Safari
Screen.Recording.2025-01-23.at.09.52.43.mov
MacOS: Desktop
Screen.Recording.2025-01-23.at.09.56.18.mov