-
Notifications
You must be signed in to change notification settings - Fork 336
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
[deep link] Make path a class to add isExclude and queryParam #8307
Conversation
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_controller.dart
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_model.dart
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_model.dart
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_services.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_services.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_model.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_model.dart
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_controller.dart
Outdated
Show resolved
Hide resolved
@@ -552,7 +552,7 @@ class DeepLinksController extends DisposableController | |||
false); | |||
|
|||
if (linkdata.os.contains(PlatformOS.ios)) { | |||
final List<String> iosPaths = iosDomainPaths[linkdata.domain] ?? []; | |||
final List<Path> iosPaths = iosDomainPaths[linkdata.domain] ?? []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove type on LHS. There should be a lint that catches this, and the DCM check on the CI should catch this too, so maybe we have a bug. But please remove type on LHS and add it to the null case empty list.
@@ -552,7 +552,7 @@ class DeepLinksController extends DisposableController | |||
false); | |||
|
|||
if (linkdata.os.contains(PlatformOS.ios)) { | |||
final List<String> iosPaths = iosDomainPaths[linkdata.domain] ?? []; | |||
final iosPaths = iosDomainPaths[linkdata.domain] ?? []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the type to the empty list or else this would be dynamically typed when iosDomainPaths[linkdata.domain]
is null
3035615
to
e5a8949
Compare
add isExcluded 1 add aasa path 1 add key Add tests
bff67da
to
01f29b7
Compare
Context:
A deeplink path in AASA file is more than just a string, it can have other attributions like
exclude
,exclude : A Boolean value that indicates whether to stop pattern matching and prevent the universal link from opening if the URL matches the associated pattern. The default is false.
For a excluded path, we just display them as
NOT /path
in the path table.For other attributions, will add them in the UI later.
Pre-launch Checklist
///
).If you need help, consider asking for help on Discord.