-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$125] Hybrid app - Book travel - App back button on country list directly returns to Expensify Classic #58026
Comments
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to @yuwenmemon ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Not repro on prod with build via App Store/Play Market ScreenRecording_03-08-2025.00-21-08_1.MP4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hybrid app - Book travel - App back button on country list directly returns to Expensify Classic What is the root cause of that problem?We are getting the back to route from route What changes do you think we should make in order to solve the problem?<HeaderWithBackButton
title={translate('common.country')}
shouldShowBackButton
onBackButtonPress={() => {
const backTo = route.params.backTo ?? ''; we should update it to Navigation.goBack(); What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Job added to Upwork: https://www.upwork.com/jobs/~021898504489447041059 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ZhenjaHorbach ( |
@samranahm What PR does this blocker come from? |
Upwork job price has been updated to $125 |
@mountiny I'm OOO currently, I'll update here as soon as I return |
Contributor details const backTo = route.params.backTo ?? '';
const backToRoute = backTo ? `${backTo}?country=${currentCountry}` : '';
Navigation.goBack(backToRoute as Route, { compareParams: false }); so basically the possible error in this navigation back approach is the improper handling of empty route parameters basically When backTo is empty, the code constructs an empty string route (backToRoute = '') and passes it to Navigation.goBack(). This causes the navigation system to attempt to find a matching route with an empty identifier rather than executing a standard back operation. |
📣 @MarkAndrew123! 📣
|
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: 9.1.10-1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro Max / iOS 18.3
App Component: Other
Action Performed:
Precondition:
Expected Result:
App back button on country list will return to Company address page.
Actual Result:
App back button on country list directly returns to Expensify Classic instead of address page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6764123_1741360594251.ScreenRecording_03-07-2025_23-11-54_1.1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ZhenjaHorbachThe text was updated successfully, but these errors were encountered: