hex/ios/HEXKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 7fa83a229d iOS keyboard: report Full Access, on or off, on every load and appearance
A tester on build 56 (iPhone 13 Pro, iOS 27.2.1) gave the Hex keyboard Full
Access "multiple times" and setup still said Not confirmed yet. Only a keyboard
can read Full Access, and the app learned it from keyboard.fullAccessSeenAt,
which the keyboard wrote from syncFromBridge after updating its traits,
settings and typing log, and only with Full Access (or, in the simulator, a
live Hex session). Nothing was ever written without it, so an "on" never went
away after Full Access was turned off, and the app could not tell off from
not checked.

What changed
- KeyboardFullAccessReport (on or off, when, and when the keyboard process
  started) in the App Group: keyboard.fullAccessOn and keyboard.fullAccessOff.
  An on also sets keyboard.fullAccessSeenAt, which earlier builds and
  Adaptive touch read; a seenAt from an earlier keyboard reads as an on from
  the oldest process.
- The keyboard reports first thing in viewDidLoad and viewWillAppear, before
  any view work or field read (no documentIdentifier), then every 5 s while
  shown from the poll. It uses hasFullAccess itself: the simulator's live
  session stand-in no longer marks Full Access on.
- Each report posts the Darwin notification
  anomaly.hex.mobile.keyboard.fullAccess; the app can forward it to
  NotificationCenter (KeyboardBridge.forwardFullAccessReports).
- KeyboardFullAccess.resolve: an off counts over an on only when newer and
  from the same or a later keyboard process (a process started before a
  grant can still say off), and is shown as off only if written since Hex
  last came to the foreground (Full Access changes only in Settings, so an
  older off may predate a grant). Otherwise on, else unconfirmed.

Verified: KeyboardBridgeTests cover the reports' storage, the legacy key and
the resolution cases; on anomastudio (iPhone 13 Pro simulator, iOS 27.2,
Release, ad-hoc signed with the App Group) the keyboard wrote an off from
Hex's own field and from Contacts without Full Access and an on with it.
2026-11-21 02:21:18 -05:00
..
CleanupTagger iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
TypingModel iOS: spatial autocorrect experiment with Google Books models, plus accent and two-letter fixes (#2059) 2026-11-20 16:18:07 +00:00
ContainingAppOpener.swift Open Hex from the iPhone keyboard and show live keyboard setup (#599) 2026-10-31 09:56:02 -07:00
HEXKeyboard.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -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
KeyboardLocalDictation.swift iOS: Hex's own recording mixes with other audio, and keyboard dictation asks paused audio to resume (#2151) 2026-11-21 06:58:47 +00:00
KeyboardViewController.swift iOS keyboard: report Full Access, on or off, on every load and appearance 2026-11-21 02:21:18 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00