hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 2ef08aa491
iOS: Auto-capitalization switch for the full keyboard (#2116)
TestFlight testers (builds 54/55) asked to turn off the capital at the start
of their typing ("you can lowercase everything on dictation but not regular
keyboard"). Settings › Keyboard gains Auto-capitalization, above Autocorrect,
on by default, as Apple's switch of the same name
(FullKeyboardSettings.autoCapitalization, App Group key
settings.keyboardAutoCapitalization; "Capitalizes the start of sentences",
zh-Hans 自动大写 / 句首字母自动大写).

Off, Hex adds no capital you didn't type, matching Apple's keyboard with
Auto-Capitalization off on the iOS 27.2 simulator ("hello world. i am mary.
im here. monday" -> "hello world. i am mary. i'm here. monday"; "^hi i speak
englsh on mondya with ^mary" -> "Hi i speak english on monday with Mary"):
- Shift never turns itself on, whatever the field's autocapitalizationType
  (sentences, words, allCharacters): not at a field's or sentence's start,
  after "." "!" "?", or after the double-space period (which still types
  ". "). FullKeyboardEngine.autoCapitalizes maps the mode to .none.
- Autocorrect (AutocorrectEngine.addsCapitals, passed to bilingual
  autocorrect's partner): English fixes, Spatial readings and UITextChecker
  guesses keep the case you typed ("i" stays, "im" -> "i'm", "mondya" ->
  "monday"); a fix that would only add a capital ("i" -> "I") isn't made.
  #2091's lowercase-name capitalisation ("mary" -> "Mary") is skipped.
- Swipe typing (#2106): no sentence-start capital from the space it adds,
  and no name capital; readings come out lowercase.
Kept: capitals you typed (shift, caps lock, "Teh" -> "The", "Im" -> "I'm"),
and your own spellings: text replacements, Contacts names and other UILexicon
terms, words you kept, fixes Hex learned (isOwnSpelling). The strip still
offers capitalised words to pick. On, nothing changes.
Dictation is separate: Settings › Dictation › Lowercase (#2103) is untouched.

Verified on an iPhone 17 simulator (iOS 27.2), Mac Studio:
- xcodebuild test: 365 tests, 0 failures, 1 skipped (needs
  HEX_SPEECH_CLIPS), including the new cases in FullKeyboardEngineTests
  (shift never turns on in any mode, shift and caps lock work, switching
  back on capitalises; a swiped word after "Great." stays lowercase) and
  AutocorrectEngineTests (fixes add no capitals; Spatial keeps "mary" and
  "monday" lowercase and a Contacts name's capital).
- The Settings switch, tapped, stored false in the App Group.
- Live in Messages with Hex's keyboard, off: an empty message showed
  lowercase keys; "hello world. i think im here. mary is here! ok" typed as
  "hello world. i think i'm here. mary is here! ok", and shift then "ok"
  gave "Ok". On: "Hello world. I think I'm here. Mary is here! Ok", as before.
- Settings › Keyboard rendered in English and Simplified Chinese.
2026-11-20 23:53:33 +00:00
..
Assets.xcassets feat: add iOS dictation keyboard 2026-07-19 15:21:45 -04: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: rebuild the audio engine before the warm-mic tap so a route change can't crash it (#2064) 2026-11-20 16:25:47 +00:00
ContentView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +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: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00: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 fits the iPhone Duo and splits when unfolded, and the strip keeps one height (#2105) 2026-11-20 22:19:23 +00: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: settings as a short home screen with Dictation, Keyboard, Privacy and Experiments pages (#2054) 2026-11-20 16:04:10 +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: full keyboard by default, typing without Full Access, and a logging mark (#2067) 2026-11-20 16:41:37 +00:00
KeyboardSetup.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
LanguageSettingsRows.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +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: Auto-capitalization switch for the full keyboard (#2116) 2026-11-20 23:53:33 +00:00
Onboarding.swift iOS: onboarding's Microphone row asks for the microphone itself (#2092) 2026-11-20 20:10:10 +00:00
OnboardingProgress.swift iOS: add a three-page first-run onboarding (#2031) 2026-11-20 12:36:45 +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: Auto-capitalization switch for the full keyboard (#2116) 2026-11-20 23:53:33 +00:00
SettingsPages.swift iOS: Auto-capitalization switch for the full keyboard (#2116) 2026-11-20 23:53:33 +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: let Translate what I say insert in the language you usually dictate in (#2078) 2026-11-20 17:53:31 +00:00
TypingInsightsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
TypingLogsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00