App icon indicating copy to clipboard operation
App copied to clipboard

[Due for payment 2025-12-25][$250] Connected Cards - App crashes when adding to Apple/Google wallet in Classic

Open jponikarchuk opened this issue 5 months ago β€’ 26 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v9.2.63-1 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/test-runs/TR-2159/folder/13176890/41237391/1035954283 Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Device used: iPhone 14 / iOS 26.1 App Component: User Settings

Action Performed:

  1. User has logged in Hybrid app with Expensifail account
  2. Navigate to Troubleshoot in account settings
  3. Tap on the Switch to Expensify Classic
  4. Tap on the Hamburger menu and select Settings
  5. Tap on Connected Cards
  6. Tap on the Add to Apple/Google Wallet button
  7. Tap on the Turn it on button

Expected Result:

The app goes to the 2FA flow

Actual Result:

The app crashes

Workaround:

Unknown

Platforms:

  • [x] Android: App
  • [ ] Android: mWeb Chrome
  • [x] iOS: App
  • [ ] iOS: mWeb Safari
  • [ ] iOS: mWeb Chrome
  • [ ] Windows: Chrome
  • [ ] MacOS: Chrome / Safari
  • [ ] MacOS: Desktop

Screenshots/Videos

https://github.com/user-attachments/assets/43d3e7bd-0283-4258-aec9-acdc3e0f8f23

logs.txt

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021993291282052216766
  • Upwork Job ID: 1993291282052216766
  • Last Price Increase: 2025-11-25
  • Automatic offers:
    • abzokhattab | Contributor | 109668374
    • dominictb | Contributor | 109670882
Issue OwnerCurrent Issue Owner: @zanyrenney

jponikarchuk avatar Nov 25 '25 09:11 jponikarchuk

Triggered auto assignment to @zanyrenney (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

melvin-bot[bot] avatar Nov 25 '25 09:11 melvin-bot[bot]

Job added to Upwork: https://www.upwork.com/jobs/~021993291282052216766

melvin-bot[bot] avatar Nov 25 '25 12:11 melvin-bot[bot]

key revenue generating flow.

zanyrenney avatar Nov 25 '25 12:11 zanyrenney

Triggered auto assignment to Contributor-plus team member for initial proposal review - @FitseTLT (External)

melvin-bot[bot] avatar Nov 25 '25 12:11 melvin-bot[bot]

Proposal

Please re-state the problem that we are trying to solve in this issue.

App crashes when adding to Apple/Google wallet in Classic

What is the root cause of that problem?

The _saveAndLeave function here is not defined anywhere causing the crash.

It's supposed to dismiss the modal but was renamed to onExit from this PR. But the above instance was not updated accordingly.

What changes do you think we should make in order to solve the problem?

Replace with NavigationManager.getInstance().dismissModal();.

What alternative solutions did you explore? (Optional)

NA

dominictb avatar Nov 25 '25 19:11 dominictb

@FitseTLT Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Nov 29 '25 00:11 melvin-bot[bot]

@FitseTLT Eep! 4 days overdue now. Issues have feelings too...

melvin-bot[bot] avatar Dec 01 '25 01:12 melvin-bot[bot]

πŸ“£ @abzokhattab πŸŽ‰ An offer has been automatically sent to your Upwork account for the Contributor role πŸŽ‰ Thanks for contributing to the Expensify app!

Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review πŸ§‘β€πŸ’» Keep in mind: Code of Conduct | Contributing πŸ“–

melvin-bot[bot] avatar Dec 01 '25 19:12 melvin-bot[bot]

Thanks @dominictb, your proposal is correct πŸ‘

:ribbon: :eyes: :ribbon: C+ reviewed

abzokhattab avatar Dec 01 '25 20:12 abzokhattab

Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

melvin-bot[bot] avatar Dec 01 '25 20:12 melvin-bot[bot]

πŸ“£ @dominictb πŸŽ‰ An offer has been automatically sent to your Upwork account for the Contributor role πŸŽ‰ Thanks for contributing to the Expensify app!

Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review πŸ§‘β€πŸ’» Keep in mind: Code of Conduct | Contributing πŸ“–

melvin-bot[bot] avatar Dec 01 '25 21:12 melvin-bot[bot]

@francoisl PR is here https://github.com/Expensify/Mobile-Expensify/pull/13791. Can you run adhoc build and assign @abzokhattab as reviewer?

dominictb avatar Dec 02 '25 17:12 dominictb

Done

francoisl avatar Dec 02 '25 18:12 francoisl

@francoisl Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Dec 06 '25 00:12 melvin-bot[bot]

PR is ready its on my list .. will review it in the morning

abzokhattab avatar Dec 06 '25 00:12 abzokhattab

OOO until Friday 12th, adding bug buddy.

zanyrenney avatar Dec 06 '25 20:12 zanyrenney

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

melvin-bot[bot] avatar Dec 06 '25 20:12 melvin-bot[bot]

@francoisl @trjExpensify @abzokhattab @dominictb this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

melvin-bot[bot] avatar Dec 09 '25 21:12 melvin-bot[bot]

@francoisl Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Dec 09 '25 23:12 melvin-bot[bot]

Not overdue – blocked on this internal issue to finish testing.

francoisl avatar Dec 10 '25 00:12 francoisl

@zanyrenney is back, dropping myself off.

trjExpensify avatar Dec 15 '25 11:12 trjExpensify

@francoisl Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] avatar Dec 18 '25 23:12 melvin-bot[bot]

The fix was deployed to production yesterday, going to reassign the issue owner for payment.

francoisl avatar Dec 19 '25 19:12 francoisl

BugZero Checklist:

  • [ ] [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

    Link to comment: NAΒ 

  • [ ] [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

    Link to discussion: NA

  • [ ] [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

  • [ ] [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue:

Regression Test Proposal

Precondition:

  • Account is using OldDot (Troubleshoot > Switch to Expensify Classic if needed)
  • Account has not enabled 2FA
  • Account has a virtual Expensify card

Test:

  1. In OldDot, tap on the Hamburger menu and select Settings
  2. Tap on Connected Cards
  3. Tap on the Add to Apple Wallet/Google Pay button
  4. Tap on the Turn it on button
  5. Verify app does not crash

Do we agree πŸ‘ or πŸ‘Ž

abzokhattab avatar Dec 20 '25 14:12 abzokhattab

@zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Dec 23 '25 00:12 melvin-bot[bot]

@zanyrenney Eep! 4 days overdue now. Issues have feelings too...

melvin-bot[bot] avatar Dec 24 '25 23:12 melvin-bot[bot]