Skip to content

Fix HybridApp deeps links for second click #58734

@Julesssss

Description

@Julesssss

Problem

Users can't enter HybridApp twice with the same deeplink. After navigating to another screen, putting the app in background and clicking on the same deeplink we weren't navigated to the correct place.

Solution

It's because initialURL didn't change and useEffect wasn't triggered. We can fix this behaviour by removing the broken useEffect and moving navigation logic to InitialURLContextProvider where we handle HybridApp urls

Metadata

Metadata

Labels

DailyKSv2EngineeringImprovementItem broken or needs improvement.InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions