hex/ios/HEXKeyboard/Info.plist
Ryan Vogel ba02048c09
iOS keyboard: Hex's input mode says mul, not en-US, so a French iPhone never takes it for English (#2441)
TestFlight build 140: a French tester saw "Hex Keyboard — Hex / anglais" in
iOS Settings › Claviers and got QWERTY from Hex. The extension's Info.plist
declared PrimaryLanguage en-US, which iOS prints under the keyboard's name
and which UITextInputMode.activeInputModes reports for Hex's own entry.
KeyboardLanguage.automatic and .suggested read those modes, so:
- Hex listed above Apple's French keyboard, without Full Access (no App
  Group dictation language), typed QWERTY English on a French iPhone.
- Settings › Keyboard › Languages offered English "On this iPhone" on an
  iPhone with only a French keyboard.

PrimaryLanguage is now mul (Apple's value for a multilingual keyboard):
iOS lists Hex as "multilingue", KeyboardLanguage.matching("mul") is nil so
both ignore Hex's own mode, as automatic's doc comment already said. The
runtime primaryLanguage Hex reports per language is unchanged; before the
full keyboard sets it (and in the dictation bar) the host sees mul.

Verified on an iOS 27.2 simulator on the Studio (fr-FR iPhone, Release
build): Hex first + no Full Access was QWERTY with en-US and AZERTY with
mul; defaults stay AZERTY; Languages lists only Français on this iPhone.
Cases added to KeyboardLayoutTests; README updated.
2026-11-22 18:55:02 -05:00

46 lines
1.6 KiB
Text

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Hex Keyboard</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>IsASCIICapable</key>
<true/>
<key>PrefersRightToLeft</key>
<false/>
<key>PrimaryLanguage</key>
<string>mul</string>
<key>RequestsOpenAccess</key>
<true/>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.keyboard-service</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).KeyboardViewController</string>
</dict>
<key>NSMicrophoneUsageDescription</key>
<string>Hex turns what you say into text on this iPhone. Audio never leaves it and is deleted once it's transcribed.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>Hex uses Apple's on-device speech recognition to turn what you say into text. Nothing you say is sent to a server.</string>
</dict>
</plist>