hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel a5adb4c23b
iOS keyboard: a dictation handed off to Hex goes in when you come back (and the bar offers Paste dictation) (#2293)
TestFlight build 115, iPad mini (A17 Pro), iPadOS 18.7.8: "When I go to dictate, it opens
Hex. I click Done. Then I have to go back to Hex to copy it." Before iOS 26 Dictate opens
Hex to record (by design); the text is meant to go into the field when you return.

Cause: iOS often starts a new keyboard view controller as you come back from Hex, and
viewDidLoad's syncFromBridge inserted Hex's result before the keyboard was shown. The
proxy accepted the text (its documentContextBeforeInput even showed it) but the field never
got it, and lastInsertedResultID marked it delivered, so nothing offered it afterwards.
Results now go in only while the keyboard is shown (viewWillAppear onwards), as the held
in-keyboard dictation already did. Same on iPhone.

Second gap: a result that missed its 30 s was offered as Paste dictation only in the full
keyboard's strip. The dictation bar, the only keyboard on an iPad, offered nothing. The
bar's top row now shows a Paste dictation chip (zh-Hans: 粘贴听写) while one is on offer.

Verified on the Mac Studio, with a diagnostic build (not committed) that forces the
pre-iOS 26 path, a simulated microphone and a fixed transcript, in a UITextView host that
logs its text:
- iPad mini (A17 Pro) sim, iOS 26.2 (no iOS 18 runtime: Xcode 27.2 won't download one),
  full-screen apps, portrait, dictation bar. Return via the "< App" breadcrumb and by
  launching the app (Dock/Spotlight/switcher equivalent) at 2, 10, 40 and 90 s after Done.
  efd5cea0 (build 115): 8/8 nothing in the field, nothing offered.
  This change: 2 and 10 s inserted; 40 and 90 s Paste dictation shown, tapping it inserts.
- iPhone 17 Pro sim, iOS 26.2, same path: build 115 lost the text the same way; with the
  change it goes in at 2 s, and at 40 s the full keyboard's strip and the bar both offer it.
- xcodebuild test (iPhone 17 Pro, iOS 27.2): 681 tests, 0 failures.
Not verified: a real iPad, iPadOS 18, the home-bar swipe (sim HID can't do edge gestures),
landscape and the floating keyboard.
2026-11-21 19:42:09 -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: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
AppleSpeechTranscriber.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
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: 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
CustomVocabularyEditor.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
DictationController+Engine.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -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 keyboard: stale microphone errors clear, Hex key audio calls leave the main thread, counts read 1, 2, 3 (#2203) 2026-11-21 10:08:42 -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 keyboard: a late host echo keeps the swipe's pending space (#2273) 2026-11-21 19:14:42 -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: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off (#2210) 2026-11-21 12:11:58 -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: give the dictation bar's top row 44 pt hit areas (#2258) 2026-11-21 16:37:47 -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: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
LanguageSettingsRows.swift iOS: Languages hint says to slide right away to switch, hold first for the cursor (#2269) 2026-11-21 17:23:41 -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 keyboard: a dictation handed off to Hex goes in when you come back (and the bar offers Paste dictation) (#2293) 2026-11-21 19:42:09 -05:00
Onboarding.swift iOS: onboarding always shows the Hex key, and practice needs Hex's dictation (#2211) 2026-11-21 12:20:32 -05:00
OnboardingPieces.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00: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: dictate Latin American Spanish with Latin America's model, and keep a picked variant when the keyboard switches (#2193) 2026-11-21 09:53:34 -05:00
ParakeetTranscriber.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
ParakeetUltraModel.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
ParakeetUltraTranscriber.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29: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: experiment to put the emoji panel's ABC under the emoji key (#2221) 2026-11-21 13:41:53 -05:00
SettingsPages.swift iOS: the dictation bar can start dictating by itself (Auto-start: never, on switch, always) (#2267) 2026-11-21 17:08:50 -05:00
SpeechEngineChoice.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
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: 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
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: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
TypingLogsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00