Handle PR OTA version mismatches and failures (#11330)

This commit is contained in:
Samuel Newman
2026-07-30 17:40:49 +03:00
committed by GitHub
parent 157a1893fd
commit 17c1ee4869
8 changed files with 403 additions and 26 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
export function useOTAUpdates() {}
export function useOTAUpdateRecovery() {}
export function useApplyPullRequestOTAUpdate() {
return {
tryApplyUpdate: async (_channel: string) => {},
tryApplyUpdate: async (
_channel: string,
_declaredAppVersion?: string | null,
) => {},
restoreDefaultChannel: async () => {},
isCurrentlyRunningPullRequestDeployment: false,
isCurrentlyRunningNonStandardChannel: false,