Skip to content

[$250] Android-Onboarding - Nothing happens after selecting unsupported integrations and tap Continue #61932

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

Open
1 of 8 tasks
mitarachim opened this issue May 13, 2025 · 16 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2

Comments

@mitarachim
Copy link

mitarachim commented May 13, 2025

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.45-0
Reproducible in staging?: Yes
Reproducible in production?: Unable to check
If this was caught during regression testing, add the test name, ID and link from TestRail: #60505
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Samsung Galaxy Z Fold 4 / Android 14
App Component: Other

Action Performed:

  1. Launch Expensify app.
  2. Log in with new Gmail account.
  3. Select Manage my team's expenses.
  4. Select 1-10 employees.
  5. Select SAP.
  6. Tap Continue.

Expected Result:

App will redirect to OD.

Actual Result:

Nothing happens after selecting unsupported integrations and tapping Continue.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6830037_1747160889962.Screen_Recording_20250514_022528_Expensify.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021922450287393061662
  • Upwork Job ID: 1922450287393061662
  • Last Price Increase: 2025-05-14
Issue OwnerCurrent Issue Owner: @allgandalf
@mitarachim mitarachim added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels May 13, 2025
Copy link

melvin-bot bot commented May 13, 2025

Triggered auto assignment to @VictoriaExpensify (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.

Copy link

melvin-bot bot commented May 13, 2025

Triggered auto assignment to @thienlnam (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels May 13, 2025
Copy link

melvin-bot bot commented May 13, 2025

💬 A slack conversation has been started in #expensify-open-source

Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@mitarachim
Copy link
Author

not reproducible if we use Staging build and change Use Staging Server as ON after click in Join button.

2025-05-14.2.00.01.AM.mp4

@mitarachim
Copy link
Author

QA team found different issue (The onboarding continues to the Concierge chat screen) in Desktop with below steps :

  1. Sign up with gmail account
  2. Manage my team expenses > Enter a company size within Micro (1–10) or Small (11–50).
  3. On the integration selection screen, choose SAP, Oracle, Microsoft Dynamics, or Sage.
  4. Proceed to the next step.
Bug6830125_1747164811683.Screen_Recording_2025-05-13_at_10.15.57_PM.mp4

it seems this issue have same root cause with 61932 , should we report as new GH issue ?

@mountiny mountiny removed the DeployBlocker Indicates it should block deploying the API label May 13, 2025
@VictoriaExpensify VictoriaExpensify added the External Added to denote the issue can be worked on by a contributor label May 14, 2025
@melvin-bot melvin-bot bot changed the title Android-Onboarding - Nothing happens after selecting unsupported integrations and tap Continue [$250] Android-Onboarding - Nothing happens after selecting unsupported integrations and tap Continue May 14, 2025
Copy link

melvin-bot bot commented May 14, 2025

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 14, 2025
Copy link

melvin-bot bot commented May 14, 2025

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

@rohit9625
Copy link
Contributor

I think this issue happens on OldDot only as SAP accounting software option is not available for NewDot. Also could you please confirm if this happens when selecting Employee count as Small, i.e., 11-50, @mitarachim?

@mitarachim
Copy link
Author

mitarachim commented May 14, 2025

Hello @rohit9625 , we couldn't repro issue when selecting Employee count as Small, i.e., 11-50

2025-05-14.9.39.52.AM.mp4
2025-05-14.9.39.54.AM.mp4

@shubham1206agra
Copy link
Contributor

shubham1206agra commented May 14, 2025

Offending PR - #60505

cc @Ollyws @abzokhattab @chiragsalian

@rohit9625
Copy link
Contributor

Oh, that's why I couldn't repro this issue on my end. That PR merged recently. However, by looking at the code in that PR and comparing it with the previous code I can see that some code is missing. Should I proceed with investigation or the PR author will take care of this?@shubham1206agra @mitarachim

@francoisl
Copy link
Contributor

If we have the offending PR, let's go for a revert unless there's a very simple and 0-risk fix. There are already lot of deploy blockers at the moment, and potentially risking a fix that would cause further blockers will delay the next deploy even more.

I prepared a revert PR here - @chiragsalian or @thienlnam feel free to go ahead and merge if there's no easy fix proposed and I'm offline.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels May 14, 2025
@rohit9625
Copy link
Contributor

Well, I found the RCA of this issue and will create the proposal if prefer. It happens due this if condition:

const shouldRedirectToOldDot = getPlatform() !== CONST.PLATFORM.DESKTOP && (!isSupportedIntegration || onboardingCompanySize !== CONST.ONBOARDING_COMPANY_SIZE.MICRO);
if (shouldRedirectToOldDot) {
if (CONFIG.IS_HYBRID_APP) {
return;
}
openOldDotLink(CONST.OLDDOT_URLS.INBOX, true);
}

The isSupportedIntegration was false and resulting shouldRedirectToOldDot becomes true even it shouldn't be because previous condition was:

getPlatform() !== CONST.PLATFORM.DESKTOP && onboardingCompanySize !== CONST.ONBOARDING_COMPANY_SIZE.MICRO

And we returns from there if using Hybrid App. However, for NewDot the web browser is opened which wasn't the case prevously if selecting MICRO company size.

Also, here we are not calling COMPLETE_GUIDED_SETUP API if selected MICOR company size:

App/src/libs/actions/Report.ts

Lines 4078 to 4083 in 23537ae

if (companySize && companySize !== CONST.ONBOARDING_COMPANY_SIZE.MICRO && getPlatform() !== CONST.PLATFORM.DESKTOP) {
optimisticData.push({
onyxMethod: Onyx.METHOD.MERGE,
key: ONYXKEYS.NVP_ONBOARDING,
value: {isLoading: true},
});

However, the above code was there even before the offending PR. So, if this issue doesn't happens after reverting that PR then we can consider refactoring shouldRedirectToOldDot condition.

@shubham1206agra
Copy link
Contributor

I can see multiple holes in the implementation. It's best to revert for now

@trjExpensify
Copy link
Contributor

Build is running to CP the revert PR: #61989

@francoisl francoisl removed the DeployBlockerCash This issue or pull request should block deployment label May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants