mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
What changed - KeyboardParakeetDownload.watch() decides "unmetered" through a new pure function, KeyboardParakeetDownload.isUnmetered(satisfied:expensive:constrained:cellular:), which adds one condition to the old check: a path that uses a cellular interface (NWPath.usesInterfaceType(.cellular)) never counts as unmetered, whatever its price. - Turned on by hand still downloads at once on any connection (the person's choice); only the download Hex starts by itself is affected. Why - The only gate was !path.isExpensive && !path.isConstrained. iOS reports 5G as not expensive under "Allow More Data on 5G", the default on many unlimited plans, and the app's own download (FluidAudio's downloader) has no cellular restriction of its own. So a never-set Hex opened on such 5G, once the keyboard had been used, could fetch the 464 MB model over cellular by itself while its row promised "Downloads on Wi-Fi". - usesInterfaceType(.cellular) rather than "must be Wi-Fi": a full-tunnel VPN over Wi-Fi uses a tunnel interface, and requiring .wifi would keep the model from it forever. Verified - DictationControllerTests.testTheKeyboardsSpeechModelNeverDownloadsByItselfOverCellular: Wi-Fi (or a VPN over it) unmetered; no connection, a hotspot or expensive cellular, Low Data Mode, and cellular that iOS calls not expensive all held. Studio suite, code-shape and the phone check are in the pull request. |
||
| .. | ||
| Fixtures | ||
| AppleSpeechAssetReservationsTests.swift | ||
| AutocorrectEngineTests.swift | ||
| CleanupTaggerTests.swift | ||
| CustomVocabularyTests.swift | ||
| DictationControllerTests.swift | ||
| DictationLanguageTests.swift | ||
| DictationLearningTests.swift | ||
| DotScopeTests.swift | ||
| EmojiPanelLettersKeyTests.swift | ||
| EmojiShortcodeTests.swift | ||
| EmojiSuggesterTests.swift | ||
| FullKeyboardEngineTests.swift | ||
| GreeklishRomanizerTests.swift | ||
| HangulComposerTests.swift | ||
| HexKeyGestureTests.swift | ||
| KeyboardBridgeTests.swift | ||
| KeyboardDuoCoverTests.swift | ||
| KeyboardLayoutTests.swift | ||
| KeyboardSwitchGuessTests.swift | ||
| KeyboardThemeTests.swift | ||
| LaggingField.swift | ||
| LanguageLearningTests.swift | ||
| ShiftStateMachineTests.swift | ||
| SwipeDecoderTests.swift | ||
| TranscriptCleanupTests.swift | ||
| TwoLanguageMergeTests.swift | ||
| TwoThumbSelectionTests.swift | ||
| TypingGateReplayTests.swift | ||
| TypingLogTests.swift | ||
| TypingReplayTests.swift | ||