-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Use case
My app does process payments outside the app - using browser.
Final url is our deepLink which gets triggered. I want it to open my current route with updated query parameters.
Currently if we open a deep-link the whole stack is poped and the screens are lost with its state. Then it created new route which was given in the deep-link URI and opens that route in initial state.
Proposal
Let go_router control this behaviour when opening deepLinks. Behaviour modes could be:
REPLACE
- as current implementationPUSH
- the new one. This could simply callpush
method on go_router insteadreplace
Another approach is to add deepLink handler which would allow app to intercept a redirect completely.
iapicca, Vedsaga, TatsuUkraine, jimpatrick, stefan-wisemindlabs and 12 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team