Skip to content

Android & iOS hybrid - Login - "Welcome to Expensify" modal is missing video #60448

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

Closed
2 of 18 tasks
lanitochka17 opened this issue Apr 17, 2025 · 10 comments
Closed
2 of 18 tasks
Assignees
Labels
Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Apr 17, 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.29-5
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team

Action Performed:

Precondition:

  • User has created a new account on staging.new.expensify.com and has not signed into hybrid app
  1. Launch Expensify app
  2. Log in with the new account created on web app for the first time

Expected Result:

"Welcome to Expensify" modal will show the video

Actual Result:

"Welcome to Expensify" modal is missing video

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6805283_1744908253206.Screen_Recording_20250418_004043_Expensify.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployDeferred Do not use - this label signifies that PR will be deployed later DeployBlockerCash This issue or pull request should block deployment and removed DeployDeferred Do not use - this label signifies that PR will be deployed later labels Apr 17, 2025
Copy link

melvin-bot bot commented Apr 17, 2025

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

Copy link

melvin-bot bot commented Apr 17, 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.

@marcaaron
Copy link
Contributor

I'm not able to get this video to show up at all. Will check the preconditions.

@marcaaron
Copy link
Contributor

Hmm so this is the logic for showing this modal...

InteractionManager.runAfterInteractions(() => {
if (isLoadingApp !== false) {
return;
}
if (isLoadingOnyxValue(isOnboardingCompletedMetadata, tryNewDotdMetadata, dismissedProductTrainingMetadata)) {
return;
}
if (CONFIG.IS_HYBRID_APP && isLoadingOnyxValue(isSingleNewDotEntryMetadata)) {
return;
}
if (hasBeenAddedToNudgeMigration && !isProductTrainingElementDismissed('migratedUserWelcomeModal', dismissedProductTraining)) {
const defaultCannedQuery = buildCannedSearchQuery();
const query = defaultCannedQuery;
Navigation.navigate(ROUTES.SEARCH_ROOT.getRoute({query}));
Navigation.navigate(ROUTES.MIGRATED_USER_WELCOME_MODAL);
return;
}
if (hasBeenAddedToNudgeMigration) {
return;
}
if (CONFIG.IS_HYBRID_APP) {
// For single entries, such as using the Travel feature from OldDot, we don't want to show onboarding
if (isSingleNewDotEntry) {
return;
}
// When user is transitioning from OldDot to NewDot, we usually show the explanation modal
if (isHybridAppOnboardingCompleted === false) {
Navigation.navigate(ROUTES.EXPLANATION_MODAL_ROOT);
}

Lots of conditions there. I am not too sure what state an account needs to be in to get this modal to appear.

@marcaaron
Copy link
Contributor

Was able to repro with expensifail.com account. There's lots of logs but this sticks out to me:

E/AVManager(25355): Cannot install JSI bindings for AV module because JS context is not available

I think that's coming from ExpoAV? This PR seems like a potential culprit: #59896

@marcaaron
Copy link
Contributor

@JakubKorytko @mountiny @DylanDylann Can you look at this please?

@marcaaron
Copy link
Contributor

Ok this was somehow caused by #60078 I can't tell exactly how so going to revert.

@marcaaron
Copy link
Contributor

We CP'd a fix for this. Asked for a re-test.

@kavimuru
Copy link

@marcaaron bug is not reproducible

2025-04-18.8.01.58.AM.mp4

@marcaaron marcaaron added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 18, 2025
@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Apr 18, 2025
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

4 participants