hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel b43cb09a49 fix(ios): pick up a model download iOS cut off in the background
A preparation interrupted by going to the background could end up failed
until the person tapped Try again:
- StallWatch measured with ContinuousClock, which keeps counting while iOS
  has Hex suspended. Back in the foreground after 90 s or more, the first
  poll saw no progress for over the limit and cancelled the download with
  "The download stopped". A poll that comes back over 5 s late now counts as
  a suspension and restarts the wait.
- Preparation now holds a background task, so iOS gives a download or
  compile a few more seconds after Hex leaves the screen.
- A download failure (stall, URL error, Parakeet download error) that
  happens while Hex is in the background is tried again once when Hex is
  active again. FluidAudio resumes each file from its .partial with
  Range/If-Range, so nothing already downloaded is fetched again. A failure
  while Hex is open still waits for Try again.

FluidAudio streams through its own default-configuration URLSession data
tasks and has no hook for a background URLSession, so a download can't keep
running while Hex is suspended.

Verified: xcodebuild test on an iOS 26.2 iPhone 14 Plus simulator (492 passed,
1 skipped), including the new retry-on-return tests.
2026-11-21 05:36:13 -05:00
..
Assets.xcassets iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
zh-Hans.lproj iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AcknowledgementsView.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
AppleSpeechTranscriber.swift iOS: never ask for Speech Recognition, and slides from 123 show the key preview (#2109) 2026-11-20 23:04:26 +00:00
AppShortcuts.xcstrings iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AudioBackend.swift iOS: recording leaves the hardware sample rate alone, and the keepalive backs off (#2160) 2026-11-21 07:55:13 +00:00
ContentView.swift fix(ios): load Parakeet once and keep its preparation progress moving 2026-11-21 05:36:13 -05:00
CustomVocabularyEditor.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
DictationController+LaunchFixtures.swift iOS: split DictationController so dev passes the size check (#2066) 2026-11-20 11:42:45 -05:00
DictationController.swift fix(ios): pick up a model download iOS cut off in the background 2026-11-21 05:36:13 -05:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift iOS: Romanian keyboard layout (#2156) 2026-11-21 02:53:12 -05:00
HexIntents.swift feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity (#574) 2026-10-30 23:35:45 -07:00
HexLinks.swift iOS: privacy and support links in the app, Continue before the mic prompt, typing logs consent (#2063) 2026-11-20 16:23:37 +00:00
HEXMobile.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
HEXMobileApp.swift fix(ios): pick up a model download iOS cut off in the background 2026-11-21 05:36:13 -05:00
Info.plist iOS: plain permission prompts and no pre-prompt Allow button, for App Review (#2058) 2026-11-20 16:13:36 +00:00
KeyboardPreviewHost.swift iOS: fewer paste prompts, and a translate switch in the keyboard (#2134) 2026-11-21 03:24:58 +00:00
KeyboardSetup.swift iOS: Full Access confirms on its own, and shows Off after a revoke (#2154) 2026-11-21 07:25:50 +00:00
KeyboardSpeechPreparation.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
LanguageSettingsRows.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
LiveActivityCoordinator.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
Localizable.xcstrings fix(ios): load Parakeet once and keep its preparation progress moving 2026-11-21 05:36:13 -05:00
Onboarding.swift fix(ios): load Parakeet once and keep its preparation progress moving 2026-11-21 05:36:13 -05:00
OnboardingPieces.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
OnboardingProgress.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
ParakeetTranscriber.swift fix(ios): load Parakeet once and keep its preparation progress moving 2026-11-21 05:36:13 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift iOS: German spatial autocorrect behind an experiment (#2161) 2026-11-21 03:10:49 -05:00
SettingsPages.swift iOS: German spatial autocorrect behind an experiment (#2161) 2026-11-21 03:10:49 -05:00
TranscriptCleanup.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
TranslateDictationRow.swift iOS: fewer paste prompts, and a translate switch in the keyboard (#2134) 2026-11-21 03:24:58 +00:00
TypingInsightsView.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
TypingLogsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00