-
Notifications
You must be signed in to change notification settings - Fork 332
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] Add ios path from AASA file check result. #8285
Conversation
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_controller.dart
Outdated
Show resolved
Hide resolved
packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_controller.dart
Outdated
Show resolved
Hide resolved
final hasAndroidAssetLinksFile = !(androidDomainErrors[linkdata.domain] | ||
?.contains(AndroidDomainError.existence) ?? | ||
false); | ||
final hasIosAasaFile = !(iosDomainErrors[linkdata.domain] | ||
?.contains(IosDomainError.existence) ?? | ||
false); |
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.
is defaulting to false what we want here? The way I am understanding this is that if we have no domain errors, we assume the asset links or aasa files do not exist.
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.
If we have no domain errors, hasAndroidAssetLinksFile =! ( null ?? false ) = true .
if the domain doesn't have asset links or aasa files. the domain errors should return AndroidDomainError.existence or IosDomainError.existence.
If we have no domain errors, we assume the domain has asset links or aasa files.
Deep link android paths are read from android manifest file.
Deep link ios paths are from the web AASA file , so we read it from the validation RPC and show them in the validation result.
Pre-launch Checklist
///
).If you need help, consider asking for help on Discord.