Ryan Vogel
e250f9def1
iOS: a warm keepalive that keeps stopping isn't restarted every 100 ms
...
The warm session's loop restarted a keepalive it found stopped on every
100 ms tick, each time with setCategory and setActive and a new
AVAudioEngine that reopens the microphone. An engine stops by itself
when the hardware's format changes (AVAudioEngineConfigurationChange),
for instance when another app such as a screen recording moves the
hardware rate, and with Hex asking for its own rate at each restart (the
16 kHz the previous commit removes) the two could take turns, which
reconfigures the microphone under the recording up to ten times a second.
Now the first restart is immediate, as before; a keepalive that stops
again within 10 s of its restart waits 1 s, then 2 s, 4 s and so on up to
30 s, and one that ran 10 s or more restarts at once again. The warm
session stays on meanwhile (the keyboard sees it as offline until the
keepalive runs). Restarts after a dictation, an interruption, a route
change or a media services reset are unchanged.
Verified: xcodebuild test on an iOS 27.2 iPhone 18 Pro simulator on the
Mac Studio, 474 tests, 0 failures (1 skipped as before), including
testAKeepaliveThatKeepsStoppingIsRestartedLessAndLessOften (a fake
keepalive that stops as soon as it starts): its steps see 5 restarts with
this change and 22 without it.
2026-11-21 02:54:44 -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: never suggest slurs, and swear words only when asked ( #2093 )
2026-11-20 20:17:31 +00: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: Hex's recording leaves the iPhone at its own sample rate
2026-11-21 02:54:44 -05:00
ContentView.swift
iOS: onboarding follows the desktop flow ( #2136 )
2026-11-21 03:27:38 +00: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
iOS: a warm keepalive that keeps stopping isn't restarted every 100 ms
2026-11-21 02:54:44 -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
iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) ( #2119 )
2026-11-21 00:29:24 +00: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
iOS: on iPad, the Dictation bar clears iPadOS's shortcut bar, and Settings explains it ( #2155 )
2026-11-21 07:41:34 +00:00
Onboarding.swift
iOS: onboarding follows the desktop flow ( #2136 )
2026-11-21 03:27:38 +00: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
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
PrivacyInfo.xcprivacy
iOS: version 1.0, iPhone only, privacy manifests ( #2052 )
2026-11-20 15:54:01 +00:00
SettingsComponents.swift
iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) ( #2146 )
2026-11-21 06:13:04 +00:00
SettingsPages.swift
iOS: on iPad, the Dictation bar clears iPadOS's shortcut bar, and Settings explains it ( #2155 )
2026-11-21 07:41:34 +00: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