hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel acf0f2b77a
iOS: Code from Messages shows only when Apple's keyboard is on (#2187)
TestFlight build 56 (iPhone 18 Pro, iOS 27.3): in a one-time-code field the
strip's "Code from Messages" chip "doesn't actually paste anything".

Cause: the chip calls advanceToNextInputMode, because only Apple's keyboard
gets codes from Messages and Mail. With Hex and Emoji as the only keyboards
(or Hex alone, or another third-party keyboard) the next keyboard is Emoji
or nothing, so the tap shows the emoji panel and no code. iOS draws nothing
OTP-related above or inside a third-party keyboard and delivers no code to
it (no textDidChange, proxy insert or lexicon entry).

Fix: the strip offers the chip only when UITextInputMode.activeInputModes
has one of Apple's keyboards (not Emoji, dictation or a
UIKeyboardExtensionInputMode). Otherwise a one-time-code field gets the
plain Paste chip for a fresh copy, or nothing. The chip itself is unchanged.

Verified on an iPhone 17 Pro simulator (iOS 27.2, Safari field with
autocomplete=one-time-code): before, Hex+Emoji showed the chip and the tap
opened Emoji; after, no chip. English+Hex+Emoji (either order) shows the
chip and the tap lands on Apple's keyboard, skipping Emoji. New cases in
KeyboardClipboardTests; HEXMobileTests 527 passed, 1 skipped.
2026-11-21 08:39:11 -05:00
..
Emoji iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar (#2147) 2026-11-21 06:24:16 +00:00
AccentPicker.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
AdaptiveTouch.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
AdaptiveTouchLabels.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
AutocorrectEngine+Dictionaries.swift iOS: text replacements fire like the system's and stay put, and no stray capitals from suggestions (#2173) 2026-11-21 06:10:45 -05:00
AutocorrectEngine.swift iOS: French spacing in dictation, and a second language no longer hurts English autocorrect (#2186) 2026-11-21 08:37:33 -05:00
DeleteWordSwipe.swift iOS: keep key haptics while dictating, and slide left on delete to delete words (#2080) 2026-11-20 17:55:51 +00:00
FullKeyboardEngine+SwipeTyping.swift iOS: text replacements fire like the system's and stay put, and no stray capitals from suggestions (#2173) 2026-11-21 06:10:45 -05:00
FullKeyboardEngine.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
FullKeyboardPalette.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
FullKeyboardSettings.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
FullKeyboardView+Emoji.swift iOS: text replacements without autocorrect, End with a period, and emoji and symbols on the Dictation bar (#2147) 2026-11-21 06:24:16 +00:00
FullKeyboardView.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
GermanCapitals.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
GreekTyping.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
HexKeyGesture.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
HexKeyViews.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
KeyboardBackdropView.swift iOS: opaque keyboard panel so stale system layers can't show through, and a nil-safe field ID (#2139) 2026-11-21 03:45:47 +00:00
KeyboardClipboard.swift iOS: Code from Messages shows only when Apple's keyboard is on (#2187) 2026-11-21 08:39:11 -05:00
KeyboardKeyPlaneView.swift iOS: the full keyboard matches the system keyboard one to one (#2178) 2026-11-21 07:20:46 -05:00
KeyboardLanguage.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
KeyboardLaunchWork.swift iOS keyboard: nothing heavy before the keys' first frame (#2185) 2026-11-21 08:28:59 -05:00
KeyboardLayout.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
KeyboardStripView.swift iOS: translation says when it pastes as spoken, retries, and never turns itself off (#2176) 2026-11-21 06:33:37 -05:00
never-suggest.tsv iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
OffensiveWords.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
ShiftStateMachine.swift iOS: Greek keyboard, tonos autocorrect, and a final ς in Lowercase (#2184) 2026-11-21 08:26:30 -05:00
SwipeDecoder.swift iOS: autocorrect splits merged words, fixes missing apostrophes and homophones, and corrects before punctuation (#2144) 2026-11-21 05:24:20 +00:00
SwipeTyping.swift iOS: autocorrect splits merged words, fixes missing apostrophes and homophones, and corrects before punctuation (#2144) 2026-11-21 05:24:20 +00:00
TextChecking.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
TypingDecoder.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
TypingJournal.swift iOS: Delete what Hex learned also forgets the words autocorrect learned to keep (#2101) 2026-11-20 21:28:27 +00:00
TypingJournalLearning.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00