Skip to content
Merged
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
12 changes: 7 additions & 5 deletions src/commands/cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,6 @@ export const cloudCommand = defineCommand({
throw new CliError('You must provide a flow file');
}

deviceValidationService.validateiOSDevice(iOSVersion, iOSDevice, compatibilityData, {
debug,
logger: (m: string) => out(m),
});

// Render DB-driven notices (deprecation/warn/info/marketing) the API
// returned with the compatibility data. Replaces the previously hardcoded
// iOS-16 deprecation warning — that is now a seeded notice gated on the
Expand Down Expand Up @@ -529,6 +524,13 @@ export const cloudCommand = defineCommand({
learnMoreUrl: n.learnMoreUrl,
}));

// Validated after the notices, so a notice aimed at a removed device or
// OS version (e.g. removed-ios-17-2026-11-02) is shown before the
// rejection it explains.
deviceValidationService.validateiOSDevice(iOSVersion, iOSDevice, compatibilityData, {
debug,
logger: (m: string) => out(m),
});
deviceValidationService.validateAndroidDevice(
androidApiLevel,
androidDevice,
Expand Down
Loading