mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
The phone side of typing configs (draft PR #2523's format and shared reader), all behind Settings › Experiments › Typing › Typing configs (experiments.typingConfigs, off by default). - Document type: anomaly.hex.typing-config (.mhexconfig), exported by Hex, conforming to public.data rather than public.json (an outside report has AirDrop previewing JSON-typed files as text that never reach the app), Owner rank, opened in place. Info.plist regenerated by xcodegen. - Arrival (TypingConfigInbox): .onOpenURL sends every .mhexconfig to an inbox that reads it off the main thread through NSFileCoordinator, never past TypingConfigLimits.maxBytes (size checked first, then one byte past the limit), deletes Documents/Inbox copies once read, and queues files: a second one waits behind the sheet ("1 more file waiting"), the same bytes twice are one. The sheet is presented over whatever is on screen and can't be swiped away. With the experiment off it explains where the switch is; Open Experiments opens Settings › Experiments at it and turning it on brings the sheet back. - Review (TypingConfigReviewView, TypingConfigWording): a rendering of TypingConfigReview with no parser or clamps of its own: each switchable part with its own switch, grouped in plain words, clamped values with what the file asked, the file's evidence labelled as its claim, key blocks for another keyboard field by field, skipped parts by reason (one sentence per Reason, English and Simplified Chinese), the note as plain text, Needs Full Access before Apply (Apply stays off), then Apply or Not now. - History (TypingConfigHistory, TypingConfigActivation): every config kept unchanged in the App Group under TypingConfigs/history, keyed on the SHA-256 of its bytes, with the parts switched off; one active or Hex defaults; 20 kept, the oldest never applied going first. Apply compiles the parts left on and writes active.json through TypingConfigStore. - Experiments' Typing group gains the Typing configs switch. - Docs: ios/docs/typing-configs.md (new), settings-and-home.md, ios/README.md, docs/features/README.md. Verified: TypingLogTests (15 tests, 3 new: arrival limits and Inbox cleanup, history keyed on the bytes and its limit, apply/defaults/go back writing active.json) on the Studio's iOS 27.2 simulator; every state opened from Files on iPhone 17 Pro and iPhone SE (3rd gen), in English and Simplified Chinese; code-shape.py --check. Not verified: AirDrop, Messages, Mail, other apps' Open in Hex, and Full Access off on a real iPhone.
110 lines
3.2 KiB
Text
110 lines
3.2 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>CADisableMinimumFrameDurationOnPhone</key>
|
|
<true/>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>Hex</string>
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeName</key>
|
|
<string>Hex typing config</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Viewer</string>
|
|
<key>LSHandlerRank</key>
|
|
<string>Owner</string>
|
|
<key>LSItemContentTypes</key>
|
|
<array>
|
|
<string>anomaly.hex.typing-config</string>
|
|
</array>
|
|
</dict>
|
|
</array>
|
|
<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>APPL</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>$(MARKETING_VERSION)</string>
|
|
<key>CFBundleURLTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Editor</string>
|
|
<key>CFBundleURLName</key>
|
|
<string>anomaly.hex.mobile.keyboard-session</string>
|
|
<key>CFBundleURLSchemes</key>
|
|
<array>
|
|
<string>hex-dictation</string>
|
|
</array>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundleVersion</key>
|
|
<string>$(CURRENT_PROJECT_VERSION)</string>
|
|
<key>ITSAppUsesNonExemptEncryption</key>
|
|
<false/>
|
|
<key>LSSupportsOpeningDocumentsInPlace</key>
|
|
<true/>
|
|
<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>
|
|
<key>NSSupportsLiveActivities</key>
|
|
<true/>
|
|
<key>UIBackgroundModes</key>
|
|
<array>
|
|
<string>audio</string>
|
|
</array>
|
|
<key>UILaunchScreen</key>
|
|
<dict>
|
|
<key>UIColorName</key>
|
|
<string>LaunchBackground</string>
|
|
</dict>
|
|
<key>UISupportedInterfaceOrientations</key>
|
|
<array>
|
|
<string>UIInterfaceOrientationPortrait</string>
|
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
</array>
|
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
<array>
|
|
<string>UIInterfaceOrientationPortrait</string>
|
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
</array>
|
|
<key>UTExportedTypeDeclarations</key>
|
|
<array>
|
|
<dict>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>public.data</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Hex typing config</string>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>anomaly.hex.typing-config</string>
|
|
<key>UTTypeTagSpecification</key>
|
|
<dict>
|
|
<key>public.filename-extension</key>
|
|
<array>
|
|
<string>mhexconfig</string>
|
|
</array>
|
|
<key>public.mime-type</key>
|
|
<array>
|
|
<string>application/vnd.anomaly.hex-typing-config</string>
|
|
</array>
|
|
</dict>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
</plist>
|