Skip to content

[Tracking] NewDot SignIn page on HybridApp follow up improvements #64348

Closed

Description

@Julesssss

The NewDot Signin page on HybridApp feature has been merged. Here are our follow up improvements and related bugs:

Tasks

TODO

Completed

Activity

  1. Julesssss commented on Jun 18, 2025

    @Julesssss
    ContributorAuthor

    Hey @mateuuszzzzz @289Adam289 @war-in, thanks for the effort with the new SignIn page!

    While we're awaiting deployment and QA testing please could you take a look at any of the polish issues listed above.

  2. DylanDylann commented on Jun 19, 2025

    @DylanDylann
    Contributor

    @Julesssss Could I help with these follow-up issues? Because I already had context while reviewing the first PR

  3. MarioExpensify commented on Jun 20, 2025

    @MarioExpensify
    Contributor

    Hey @Julesssss, it seems we have a new one: #64606 It was demoted from blocker but it seems related.

  4. mateuuszzzzz commented on Jun 23, 2025

    @mateuuszzzzz
    Contributor

    Hi @DylanDylann I'm curious if you're still able to reproduce this flashing on sign-out .

    EDIT: I'm able to reproduce it

  5. Julesssss commented on Jun 24, 2025

    @Julesssss
    ContributorAuthor

    We noticed this crash while the feature was live, which a fair amount of reproductions:

              Fatal Exception: NSInvalidArgumentException
    0  CoreFoundation                 0x83f20 __exceptionPreprocess
    1  libobjc.A.dylib                0x172b8 objc_exception_throw
    2  UIKitCore                      0x56e2ec -[UIViewController _presentViewController:withAnimationController:completion:]
    3  UIKitCore                      0x8e99e0 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke_2
    4  UIKitCore                      0x95434 +[UIView(Animation) performWithoutAnimation:]
    5  UIKitCore                      0x56f9f0 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke
    6  UIKitCore                      0x5699b4 -[UIViewController _performCoordinatedPresentOrDismiss:animated:]
    7  UIKitCore                      0x5696dc -[UIViewController _presentViewController:animated:completion:]
    8  UIKitCore                      0x569570 -[UIViewController presentViewController:animated:completion:]
    9  Expensify                      0x13e940 specialized static ReactNativeManager.clearOldDotAfterSignOut() + 167 (ReactNativeManager.swift:167)
    10 libdispatch.dylib              0x213c _dispatch_call_block_and_release
    11 libdispatch.dylib              0x3dd4 _dispatch_client_callout
    12 libdispatch.dylib              0x125a4 _dispatch_main_queue_drain
    13 libdispatch.dylib              0x121b8 _dispatch_main_queue_callback_4CF
    14 CoreFoundation                 0x56710 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
    15 CoreFoundation                 0x53914 __CFRunLoopRun
    16 CoreFoundation                 0x52cd8 CFRunLoopRunSpecific
    17 GraphicsServices               0x11a8 GSEventRunModal
    18 UIKitCore                      0x40aae8 -[UIApplication _run]
    19 UIKitCore                      0x4bed98 UIApplicationMain
    20 Expensify                      0x44990 main + 16 (main.swift:16)
    21 ???                            0x1ca113154 (Missing)
    

    Further logs:

    com.expensify.expensifylite_issue_df706cc4a2eefcafb62e68ee0ebb1d81_crash_session_6c6036ca9bd9463b881d30e066e6acc6_DNE_0_v2.json

  6. mateuuszzzzz commented on Jun 25, 2025

    @mateuuszzzzz
    Contributor

    I found more descriptive log for this error:

    Fatal Exception: NSInvalidArgumentException
    Application tried to present modally a view controller <UIViewController: 0x123111000> that is already being presented by <ExpensifyRootViewController: 0x1063dab00>.
    

    Since we're calling clearOldDotAfterSignOut from components, it might be triggered more than once due to changing dependencies. I'll address this in the PR that brings back the SignInPage.

    EDIT: Should be fixed now.

  7. mateuuszzzzz commented on Jun 30, 2025

    @mateuuszzzzz
    Contributor

    On top of the PRs that reintroduce the new SignInPage, I’ve created two additional PRs that fix the reload issue in development.

    Previously, after signing in, reloading the app would bring us back to the SignInPage. This happened because we were passing HybridAppSettings from OldDot via initial props. Every reload after signing in was using outdated initial props, since props don’t change between reloads.

    I’ve updated this behavior in those PRs so that HybridAppSettings is now sent through a native method and can only be obtained once per NewDot lifecycle. This prevents multiple NewDot initializations during reloads.

    Here’s the PR (the diff will be clearer once the initial PRs are merged). I’d like to keep this change in a separate PR to avoid introducing additional variables that could complicate debugging if any issues arise.

    ND: #65178
    OD: https://github.com/Expensify/Mobile-Expensify/pull/13607

  8. Julesssss commented on Jun 30, 2025

    @Julesssss
    ContributorAuthor

    Sounds good, thanks. Currently we're just waiting on this deep link/action PR before we merge the SignIn page changes

  9. mateuuszzzzz commented on Jul 4, 2025

    @mateuuszzzzz
    Contributor

    I prepared two PRs that will simplify solving 2 issues that become visible on new SignInPage (more info in PR description). I'll continue testing on Monday.

    ND: #65506
    OD: https://github.com/Expensify/Mobile-Expensify/pull/13616

  10. 41 remaining items

  11. Julesssss commented on Oct 28, 2025

    @Julesssss
    ContributorAuthor

    1 issue resolved and awaiting deployment, another being picked up soon, another has PRs in review

  12. Julesssss commented on Nov 7, 2025

    @Julesssss
    ContributorAuthor

    PRs in progress

  13. danielrvidal commented on Nov 21, 2025

    @danielrvidal
    Contributor

    How are we doing on this one? Are we close to closing this one out? Do we think we still need to track it in the weekly #convert update?

  14. Julesssss commented on Nov 24, 2025

    @Julesssss
    ContributorAuthor

    How are we doing on this one? Are we close to closing this one out? Do we think we still need to track it in the weekly #convert update?

    @danielrvidal no need to continue tracking, the remaining issues are all minor and merged or very close now:

  15. danielrvidal commented on Nov 25, 2025

    @danielrvidal
    Contributor

    Awesome, that sounds good. Thank you!

  16. Julesssss commented on Dec 8, 2025

    @Julesssss
    ContributorAuthor

    Closing this tracking issue out. We've resolved 26/27 HybridApp follow-up improvements 🎉🎉🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Weekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions