hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 8675f94d37
iOS: Speech model in keyboard never downloads by itself over cellular, even 5G iOS calls not expensive (#2431)
What changed
- KeyboardParakeetDownload.watch() decides "unmetered" through a new pure function,
  KeyboardParakeetDownload.isUnmetered(satisfied:expensive:constrained:cellular:), which adds
  one condition to the old check: a path that uses a cellular interface
  (NWPath.usesInterfaceType(.cellular)) never counts as unmetered, whatever its price.
- Turned on by hand still downloads at once on any connection (the person's choice); only
  the download Hex starts by itself is affected.

Why
- The only gate was !path.isExpensive && !path.isConstrained. iOS reports 5G as not
  expensive under "Allow More Data on 5G", the default on many unlimited plans, and the
  app's own download (FluidAudio's downloader) has no cellular restriction of its own. So a
  never-set Hex opened on such 5G, once the keyboard had been used, could fetch the 464 MB
  model over cellular by itself while its row promised "Downloads on Wi-Fi".
- usesInterfaceType(.cellular) rather than "must be Wi-Fi": a full-tunnel VPN over Wi-Fi
  uses a tunnel interface, and requiring .wifi would keep the model from it forever.

Verified
- DictationControllerTests.testTheKeyboardsSpeechModelNeverDownloadsByItselfOverCellular:
  Wi-Fi (or a VPN over it) unmetered; no connection, a hotspot or expensive cellular, Low
  Data Mode, and cellular that iOS calls not expensive all held. Studio suite, code-shape and
  the phone check are in the pull request.
2026-11-22 16:01:05 -05:00
..
Assets.xcassets iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
zh-Hans.lproj iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
AcknowledgementsView.swift iOS keyboard: Polish autocorrects with Hex's own model, word list and capitals (#2423) 2026-11-22 14:45:55 -05:00
AppleSpeechTranscriber.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05: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: a warm session dictates in the background on iOS 27 again, and a keyboard that opens Hex brings the warm default back (#2406) 2026-11-22 13:12:24 -05:00
ContentView.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
CustomVocabularyEditor.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
DictationController+Engine.swift iOS: a working dictation is never taken away by a guess, and no speech model check sits forever (#2371) 2026-11-22 08:56:10 -05:00
DictationController+LaunchFixtures.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
DictationController+ModelPreparation.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
DictationController+WarmDefault.swift iOS: Keep mic warm defaults to Off and hides where the keyboard dictates by itself (#2393) 2026-11-22 11:58:48 -05:00
DictationController.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
HexIntents.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05: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 iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
Info.plist iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
KeyboardParakeetDownload.swift iOS: Speech model in keyboard never downloads by itself over cellular, even 5G iOS calls not expensive (#2431) 2026-11-22 16:01:05 -05:00
KeyboardPreviewHost.swift iOS keyboard: remove the "Logging" mark; Record typing logs is only the switch (#2382) 2026-11-22 10:50:35 -05:00
KeyboardSetup.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
KeyboardSpeechPreparation.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
LanguageSettingsRows.swift iOS keyboard: English and German together type on the first one's keys, as Apple's bilingual keyboard (#2402) 2026-11-22 12:55:14 -05: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 ios: emoji shortcodes experiment in the keyboard (#2432) 2026-11-22 15:57:16 -05:00
Onboarding.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
OnboardingPieces.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
OnboardingProgress.swift iOS: onboarding always shows the Hex key, and practice needs Hex's dictation (#2211) 2026-11-21 12:20:32 -05:00
OnDeviceSpeechTranscriber.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
ParakeetTranscriber.swift iOS: Speech model in keyboard on by default for English, downloaded only where the keyboard can use it (#2390) 2026-11-22 12:18:29 -05:00
ParakeetUltraDownload.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
ParakeetUltraModel.swift iOS: Experiments › Speech model in keyboard: Parakeet in the keyboard, with the app closed (off by default) (#2381) 2026-11-22 10:44:16 -05:00
ParakeetUltraTranscriber.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift ios: emoji shortcodes experiment in the keyboard (#2432) 2026-11-22 15:57:16 -05:00
SettingsPages.swift ios: emoji shortcodes experiment in the keyboard (#2432) 2026-11-22 15:57:16 -05:00
SpeechEngineChoice.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
SpeechModelMove.swift iOS: Speech model in keyboard on by default for English, downloaded only where the keyboard can use it (#2390) 2026-11-22 12:18:29 -05:00
TranscriptCleanup.swift fix(labs): Apple Intelligence cleanup never pastes an answer or a preamble (#2212) 2026-11-21 13:43:24 -05:00
TranslateDictationRow.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
TranslationSessionHost.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
TypingInsightsView.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
TypingLogsView.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00