hex/site/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 1481e5f80e
Android: the speech model waits for Wi-Fi unless the person chooses mobile data (#2777)
What changed:
- ACCESS_NETWORK_STATE in the main manifest, so every variant gets it: debug, release (Google Play) and preview
  (Hex Preview). No other manifest line changes.
- unmeteredNetwork(context) in ModelStore.kt answers whether the phone's network is unmetered (NOT_METERED or
  TEMPORARILY_NOT_METERED), null with no network. It is the only thing Hex asks about the network.
- ModelStore.small is Wi-Fi-first: download() on a metered network (mobile data, a metered Wi-Fi) leaves it in the new
  State.WaitingForWifi. The Speech model row, in setup and in Dictation, says "190 MB. Starts by itself on Wi-Fi."
  with Use mobile data. An unmetered network starts it while a Hex screen is open (a default network callback), or
  when one next opens. A download whose Wi-Fi drops waits for Wi-Fi again instead of saying there's no connection.
  The mobile-data choice is kept until the file is installed or deleted, so a resumed download doesn't ask again.
- Labs' 135 MB download is unchanged: it starts on its tap, on any network. That work can call unmeteredNetwork().

Why: setup started the 190 MB download on mobile data without saying so. Ryan approved the permission.

Words: the in-app and Play policy, the site's Android page (a new "What does Hex Preview ask Android for?"; the old
"asks for the microphone and the internet and nothing else" is replaced, since it is no longer true) and privacy
page, android/README.md, and android/play/README.md's list of manifest permissions (which also lacked VIBRATE).

Checked: site bun run build, then bun test (25 pass). The Kotlin is not compiled yet (no Gradle on basebook); the
compile and unit tests, with the new waitsForWifi test in SignatureTest.kt, run on the Studio in the next window.
2026-11-24 21:38:42 -05:00
..
shout Windows: dictation defaults to Left Alt alone (#2292) 2026-11-21 21:38:29 -05:00
App.tsx site: add Mobile tab with iOS and Android links (#2725) 2026-11-24 11:14:40 -05:00
base.ts site: add Mobile tab with iOS and Android links (#2725) 2026-11-24 11:14:40 -05:00
dev-notes.test.ts fix: release notes link shows only builds since the installed one (#2551) 2026-11-23 13:01:20 -05:00
dev-notes.ts fix: release notes link shows only builds since the installed one (#2551) 2026-11-23 13:01:20 -05:00
Download.tsx site: add Mobile tab with iOS and Android links (#2725) 2026-11-24 11:14:40 -05:00
footer-signature.svg feat(site): add the Anomaly footer from opentunnel.xyz 2026-10-23 10:01:17 -04:00
glow.ts perf(site): pulse the option key's glow at 30 fps and let the idle head sleep between frames (#800) 2026-11-01 22:25:16 +10:00
iphone.ts Android: the speech model waits for Wi-Fi unless the person chooses mobile data (#2777) 2026-11-24 21:38:42 -05:00
labs.json labs: choose meeting audio (one app or one output device) (#2724) 2026-11-24 17:41:26 -05:00
labs.ts site: add /hex/iphone and /hex/privacy for the iPhone app's App Store listing (#2056) 2026-11-20 16:09:10 +00:00
main.tsx Windows Setup.exe, one site, and a download section that works (#166) 2026-10-19 19:26:41 -07:00
platform.ts Site: one install switcher with every way to install Hex, and nothing else (#396) 2026-10-29 16:12:07 -04:00
prerender.tsx Windows Setup.exe, one site, and a download section that works (#166) 2026-10-19 19:26:41 -07:00
release.ts Fix #1134: Nix install documentation (#1135) 2026-11-03 09:07:41 -05:00
Root.tsx perf(site): a smoother homepage show with identical pixels (#727) 2026-10-31 21:49:35 -04:00
Shout.tsx site: add Mobile tab with iOS and Android links (#2725) 2026-11-24 11:14:40 -05:00
styles.css site: add Mobile tab with iOS and Android links (#2725) 2026-11-24 11:14:40 -05:00
vite-env.d.ts feat: add HEX marketing site 2026-07-19 14:18:50 -04:00