Skip to content
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

Update when deeplink appid and bundle id are collected #8801

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,14 @@ class DeepLinksController extends DisposableController
Map<String, List<Path>> iosDomainPaths = {};
try {
if (currentAppLinkSettings != null) {
ga.impression(
gac.deeplink,
gac.AnalyzeFlutterProject.androidValidateDomain.name,
screenMetricsProvider:
() => DeepLinkScreenMetrics(
androidAppId: currentAppLinkSettings!.applicationId,
),
);
final androidResult = await deepLinksService.validateAndroidDomain(
domains: domains,
applicationId: applicationId,
Expand All @@ -542,6 +550,14 @@ class DeepLinksController extends DisposableController
}
if (FeatureFlags.deepLinkIosCheck &&
currentUniversalLinkSettings != null) {
ga.impression(
gac.deeplink,
gac.AnalyzeFlutterProject.iosValidateDomain.name,
screenMetricsProvider:
() => DeepLinkScreenMetrics(
iosBundleId: currentUniversalLinkSettings!.bundleIdentifier,
),
);
final iosResult = await deepLinksService.validateIosDomain(
bundleId: bundleId,
teamId: teamId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ enum AnalyzeFlutterProject {
/// iOS Universal Links settings are loaded.
iosUniversalLinkSettingsLoaded,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update the comments here to differentiate them from androidAppLinksSettingsLoaded and iosUniversalLinkSettingsLoaded

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah thanks for catching it, copy paste error

/// Validate the host name of Android App Links
androidValidateDomain,

/// Validate the associated domain of iOS Universal Links
iosValidateDomain,

/// App Links are loaded and there is at least one link.
flutterHasAppLinks,

Expand Down
Loading