hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 1639385d89 iOS: Translate what I say translates before iOS 26 through a session in Hex's window
Before iOS 26 DictationTranslator skipped every translation, while Settings let
Translate what I say be turned on and its language downloaded, so on iOS 18 every
dictation went in as spoken without a word. The TestFlight tester on an iPhone XR
(iOS 18.7.12, build 56) needs it with Chinese.

Apple's Translation framework is there on iOS 18 (LanguageAvailability,
TranslationSession.Configuration, prepareTranslation), but a TranslationSession
comes only from SwiftUI's translationTask; TranslationSession(installedSource:
target:), which DictationTranslator uses, is iOS 26.

- TranslationSessionHost: Hex's root view hosts a translationTask; each
  translation queues its text, sets or invalidates the configuration for its pair,
  and the task translates the queue with the session it gets. TranslationEngine
  .hosted is set as the view appears, and DictationTranslator uses it before iOS 26
  (the keyboard has none and doesn't translate there).
- iOS may not run the task, or the translation, while Hex is in the background (a
  dictation finished from the keyboard). A translation not answered within 10 s
  goes in as spoken with the new reason needsHexOpen, not retried; the keyboard's
  note says "iOS 18 translates only with Hex open" and Settings says the last
  dictation couldn't be translated while Hex was in the background.
- zh-Hans for both strings.

Verified (on origin/dev acf0f2b7): xcodebuild test on an iPhone SE (2nd
generation) iOS 26.2 simulator, 546 tests, 0 failures, 1 skipped, with
DictationControllerTests.testBeforeIOS26ATranslationWithoutHexsWindowSaysSo for the
reason, its copy and no retry. The simulator says Translation isn't supported on it,
so a hosted session translating, in the foreground and in the background, is
device-only.
2026-11-21 08:48:34 -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: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -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: dictation picks the car's mic in CarPlay, and a warm session never holds call audio (#2179) 2026-11-21 07:21:46 -05:00
ContentView.swift iOS: Translate what I say translates before iOS 26 through a session in Hex's window 2026-11-21 08:48:34 -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+Engine.swift iOS: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -05:00
DictationController+LaunchFixtures.swift iOS: split DictationController so dev passes the size check (#2066) 2026-11-20 11:42:45 -05:00
DictationController.swift iOS: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -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: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -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 iOS: translation says when it pastes as spoken, retries, and never turns itself off (#2176) 2026-11-21 06:33:37 -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: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05: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: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -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: Translate what I say translates before iOS 26 through a session in Hex's window 2026-11-21 08:48:34 -05:00
Onboarding.swift iOS: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -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
OnDeviceSpeechTranscriber.swift iOS: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -05:00
ParakeetTranscriber.swift iOS: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift iOS: choose QWERTY, QWERTZ, AZERTY or Dvorak per keyboard language (#2172) 2026-11-21 10:41:12 +00:00
SettingsPages.swift iOS: dictation picks the car's mic in CarPlay, and a warm session never holds call audio (#2179) 2026-11-21 07:21:46 -05:00
SpeechEngineChoice.swift iOS: older iPhones and other languages dictate with Apple's on-device recognizer before iOS 26 2026-11-21 08:48:34 -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: Translate what I say translates before iOS 26 through a session in Hex's window 2026-11-21 08:48:34 -05:00
TranslationSessionHost.swift iOS: Translate what I say translates before iOS 26 through a session in Hex's window 2026-11-21 08:48:34 -05: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