hex/ios/HEXMobile/Settings
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 8e95232770 iOS: both speech models download on Wi-Fi, with Use mobile data
What: Settings › Dictation › Model's two downloads now follow one rule
(SpeechModelDownloadNetwork). On Wi-Fi (KeyboardParakeetDownload.isUnmetered: not
cellular, a hotspot or Low Data Mode) a picked model downloads as before. Off Wi-Fi it
waits: English's line already said "Downloads on Wi-Fi."; Multilingual's now says the
same (ParakeetUltraDownload.State.waitingForWiFi) instead of starting at once. Both lines
get a Use mobile data action that starts that download now. Wi-Fi coming back starts a
waiting download by itself; a multilingual download running on Wi-Fi now stops where it
is when Wi-Fi goes (its files resume), as English's always did. Use mobile data is one
decision for that model's download, kept in the App Group until the model is on the
iPhone (a stop, Try again or relaunch carries on); picking the other model forgets it.
Multilingual's row text now reads "A 632.2 MB download on Wi-Fi." (zh-Hans updated);
the one new string is "Use mobile data" (zh-Hans 使用蜂窝数据). English's own network
monitor moved into SpeechModelDownloadNetwork, which both downloads observe.

Unchanged: a download already running on Wi-Fi; unpicked (the old model stays until the
new one is downloaded and has loaded once); picking English still stops and removes a
partial multilingual download; the keyboard extension and its notice; the Speech model
in keyboard switch turned on by hand still downloads English on any connection.

Why: TestFlight build 151 (no Wi-Fi at home): English waited for Wi-Fi but Multilingual
started a 632 MB download over mobile data the moment it was picked. Ryan's decision:
wait for Wi-Fi, with a Use mobile data button, as on Android.

Verified: tests in DictationControllerTests (both wait off Wi-Fi, Use mobile data starts
them, Wi-Fi returning starts a waiting one, leaving Wi-Fi stops one, both start at once on
Wi-Fi, picking the other model asks again); suite run separately.
2026-11-25 08:40:36 -05:00
..
DictationSettingsPage.swift iOS: both speech models download on Wi-Fi, with Use mobile data 2026-11-25 08:40:36 -05:00
ExperimentsSettingsPage.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
KeyboardSettingsPage.swift ios: preview the key haptic when choosing Strength (#2648) 2026-11-24 17:49:10 -05:00
PrivacySettingsPage.swift Privacy: feedback is used to answer you and fix what you report; the app's note names the install ID (#2787) 2026-11-24 18:49:20 -05:00
SpeechModelChoiceRow.swift iOS: both speech models download on Wi-Fi, with Use mobile data 2026-11-25 08:40:36 -05:00