Android got App Links in #1309. iPhones still sent offband.app links
to Safari, because the app claimed no domains and the site published
no apple-app-site-association file.
- Runner.entitlements claims applinks:offband.app and
applinks:dev.offband.app, wired into the Runner target's Debug,
Release and Profile configs.
- web/.well-known/apple-app-site-association names
63VU9LBN3A.app.offband.meshcore.ios for /add/*, served as JSON.
- The signed lane now fails if the signed app is missing either
domain, checked against a wrong domain first. Without the
entitlement the build still succeeds and links quietly open in
Safari.
The App Store profile was regenerated with Associated Domains and
stored in APPLE_PROFILE_BASE64 on 2026-11-30. app_links 7.2.2 already
reads universal links through the scene lifecycle, so no native or
Dart code changes.
Agent: StormyElk (session 088ce922)
A share link can now be https://offband.app/add/channel#... or
/add/contact#..., on offband.app or dev.offband.app. The fields sit after
the #, which browsers never send, so a channel secret stays out of the
server's logs. The router turns the link into its meshcore:// twin, so
one parser still reads every form.
- Android: an autoVerify App Links filter for /add/ on both hosts, and
web/.well-known/assetlinks.json with the release key's SHA-256, served
as JSON. A verified link opens Offband with no chooser, so the stock
app, which also answers meshcore://, is out of the way.
- Web: the page's own address arrives as the initial link. Once read it
is cleared from the address bar, so a reload asks nothing.
- A tap on such a link in a chat message opens the add confirmation, as
meshcore:// links already do.
- An /add/ address with broken fields shows the invalid-link message;
the site's other pages are ignored.
iOS Universal Links follow once the Apple team ID and a profile with
Associated Domains are in place.
Agent: StormyElk (session 088ce922)
The rebrand wrote Offband Meshcore, against the owner's capitalization. Launcher label, title, strings, notifications, window titles, web, release titles and docs are corrected. ProductName in Runner.rc deliberately keeps the old spelling: path_provider builds the Windows data folder from it, so changing it would orphan every Windows user's data. Bundle IDs, past release texts and the certificate subject are unchanged.
Epic #1014, Feature #200.
Agent: ChartreuseBay (session 425e424d)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The web/ scaffold was never rebranded when the app was renamed to Offband,
so link previews of offband.app rendered the Flutter template defaults
(title "meshcore_open", description "A new Flutter project.") and every
icon under web/ was still the stock Flutter logo.
Text:
- title "Offband Meshcore", real description, apple title "Offband"
- manifest name/short_name/description
- theme_color and background_color from #0175C2 to the brand surface
#0F1412, matching the icon background so the PWA splash is seamless
Link previews (there were no OG tags at all, hence the bare grey card):
- og:type/site_name/title/description/url/image plus explicit dimensions
- twitter:card summary_large_image with explicit twitter:* equivalents
- og-banner.png is 1200x630, the canonical OG ratio
Artwork, regenerated from offband-icon.png:
- Icon-192/512 straight downscale
- maskable variants re-inset so the furthest content pixel sits at 38% of
width from centre, inside the 40% safe zone Android guarantees
- favicon.png and favicon.svg from offband-site, plus a multi-resolution
favicon.ico for agents that ignore icon link tags
Brand assets are copied into web/ rather than hot-linked to offband.org so
the client page carries no cross-origin dependency.
Verified through the CI build path (dart run build_pipe:build): the
cache-bust rewrite preserves every new tag, and all assets ship.
Agent: EmeraldTower (session 7c8d69ef)
Owner asked whether the web assets must be re-downloaded on every drift bump.
They do not - the version can be pinned - but doing that safely needed three
changes, because the failure mode is silent.
1. drift and drift_flutter are pinned EXACTLY (2.34.2 / 0.3.1), no caret. The
committed web assets are built for a specific drift release, so a caret
would let pub resolve a newer drift than the shipped binaries and break the
web build with no signal at compile time.
2. pubspec.lock is now committed (removed from .gitignore). It was ignored,
which for an application means resolution can differ between machines and
CI. That undermines the pin: the assets are matched against the RESOLVED
version, so resolution has to be reproducible. Owner-authorized, and it is
a repo-wide change rather than a storage-only one.
3. New test asserting the shipped assets match the resolved drift version,
plus that both files exist and the wasm really starts with the WebAssembly
magic bytes. Verified in both directions: it passes when matched and fails
loudly with re-download instructions when skewed.
Without (3) a stale asset compiles, deploys, and only fails in the user's
browser - the exact silent-failure class SAFELANE 6 forbids and that produced
#333 earlier.
Upgrading drift is now a deliberate step: bump the pin, re-download both
assets, update web/drift_assets.version. The test fails until you do.
flutter analyze clean, tests pass.
Step 1 gate, web half. Building is not evidence, so this was run in a browser.
Assets: sqlite3.wasm (748 KB) and drift_worker.js (355 KB), both taken from
the SAME drift-2.34.2 release so they are built against each other. Validated
before use - the wasm has correct WebAssembly magic (0061 736d) and carries
SQLite 3.53.3; the worker is genuine compiled Dart JS.
Note the filename: the release ships `drift_worker.js`, not the
`drift_worker.dart.js` the docs name. The database URI was corrected to match,
which would otherwise have been a silent 404 at runtime.
Browser result, served over HTTP with COOP/COEP and Content-Type:
application/wasm:
Using WasmStorageImplementation.opfsLocks
PROBE-OK open+write+read
PROBE-OK 6MiB round-trip (localStorage cap is 5MiB)
drift selected OPFS, the top storage tier, and round-tripped 6 MiB - data the
current localStorage-backed web build physically cannot hold. No exceptions.
Adds web/_headers for Cloudflare Pages: forces application/wasm on the wasm
asset and sets COOP/COEP for cross-origin isolation. Verified to ship into
build/web. Without COOP/COEP drift still works, falling back to IndexedDB,
which is slower but still unbounded next to localStorage - a performance tier,
not a correctness requirement.
web_probe/ is a standalone entrypoint that exercises ONLY the drift stack, so
a pass or fail is unambiguous without BLE and the rest of the app in the way.
It is not part of the app build.
Still no user data touched and no store switched over. The migration is the
next step.
flutter analyze clean, dart format clean, 497 tests pass.
Open-source Flutter client for MeshCore LoRa mesh networking devices.
Features:
- BLE device scanning and connection
- Nordic UART Service (NUS) integration
- Material 3 design with system theme support
- Provider-based state management
- Placeholder screens for chat, contacts, and settings
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>