hex/ios/HEXShared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 7894cac951
iOS: never ask for Speech Recognition, and slides from 123 show the key preview (#2109)
* iOS: Apple Speech never asks for Speech Recognition, so declining it no longer blocks setup

A TestFlight tester (build 51, iOS 27.0.1) declined Speech Recognition. Hex then
showed "Finish setup · 1 step", a red home banner and a permanent keyboard strip
message, "Speech Recognition access is required to use Apple Speech", while
in-keyboard dictation kept working.

That permission covers SFSpeechRecognizer, which Hex doesn't use. SpeechAnalyzer
(SpeechTranscriber and DictationTranscriber) runs on the iPhone without it
(Apple's "Asking Permission to Use Speech Recognition"; the keyboard never
asked). Only AppleSpeechTranscriber.prepare asked, and a denial failed the app's
speech model, which the setup row, home and the keyboard strip all showed.

Removed: the request, the authorizationDenied error and its string. Kept:
NSSpeechRecognitionUsageDescription, which Apple says to include whenever an app
uses the Speech framework; it already says on-device and is no longer shown.
iOS 18-25 dictates with Parakeet and never used Speech Recognition.

Verified on an iPhone 16 Pro simulator (iOS 27.2) with the permission denied in
TCC: origin/dev shows the banner and strip message on the Apple Speech path
(German); this build shows neither and reaches Ready; a fresh install never
prompts and leaves no Speech Recognition record. xcodebuild test: 361 tests,
0 failures. The clip test now reports the permission state.

* iOS: holding 123, #+= or shift and sliding shows the key under the finger, as Apple's does

A TestFlight tester (build 51) saw no pop-up while sliding from 123. Hex already
typed the key the finger lifted on and went back to letters, but only character
presses drove the pop-up, so nothing showed which key the finger was over.

Now a 123, ABC, #+= or shift press tracks the character key under the finger
(ActiveTouch.slideKey). That key shows its pop-up, or darkens with Key pop-ups
off. Lifting types it and goes back to the page the press came from. Back on
the page key after a slide types nothing and goes back. Off the keys types
nothing and the page stays. Shift and slide now types the capital, as Apple's
does (it typed nothing before). None of these is a swipe: swipes start on
letters only.

Compared with Apple's keyboard in the same simulator (iPhone 16 Pro, iOS 27.2):
the pop-up and the lift match for 123, #+= and shift. Apple also opens a
slid-to key's accent menu after a hold; Hex doesn't (unchanged). New
FullKeyboardEngineTests cases; xcodebuild test: 361 tests, 0 failures.
2026-11-20 23:04:26 +00:00
..
FullKeyboard iOS: never ask for Speech Recognition, and slides from 123 show the key preview (#2109) 2026-11-20 23:04:26 +00:00
TypingLog iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
AppleIntelligenceCleanupSettings.swift ios: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
CleanupReconstruction.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CleanupTagger.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
CleanupTokenizer.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CustomVocabularySettings.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationCorrections.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditInference.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditTracker.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationLanguage.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
DictationLanguageSwitch.swift iOS: Russian and Serbian (Latin) full-keyboard layouts (#2075) 2026-11-20 17:44:49 +00:00
DictationPipeline.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
DictationTranslation.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
DotScope.swift iOS: dictate from the keyboard without opening Hex, plus suggestions, autocorrect, and Paste (#1999) 2026-11-19 12:20:12 -05:00
DotScopeShader.metal fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmptyCapture.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
HexTheme.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
HomeSwipeCue.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
KeyboardBridge.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
KeyboardSurface.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
SpeechModelInstall.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
SpokenCleanupRules.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
TranscriptFormatter.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
UserFacingError.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
VocabularySpelling.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00