tamer-dev-app
Standalone Tamer4Lynx dev app — Expo Go-style QR scan and HMR for development. Not an installable npm package; it is a private workspace app in the tamer4lynx monorepo.
What it is
tamer-dev-app is the prebuilt native host app that runs on a physical device or simulator during development. It embeds tamer-dev-client for the launcher UI (server discovery, QR scan, recent servers, reload bridge) and connects to t4l start over WebSocket for HMR.
Use it instead of building a full native host from scratch when you want a quick dev loop.
Build and install
From the repo root:
See t4l build-dev-app for flags.
Dev workflow
- Start the dev server:
t4l start(from your Lynx project root) - Build and install the dev app on your device/simulator
- Open the dev app, scan the QR code, and connect — HMR is active
Native linking
LynxInitProcessor.swift (iOS) ships with GENERATED IMPORTS / GENERATED AUTOLINK placeholders. Run t4l link from this package directory (where tamer.config.json lives) before the first iOS build so the placeholders are filled from node_modules. In the monorepo, use npm run link:native from packages/tamer-dev-app (requires npm run build at the repo root first).
Fresh clones must run t4l link before iOS will compile.
official-app.json
If an official-app.json file is present in the project root when running t4l build android, the CLI injects its contents as TAMER_DEV_CLIENT_OFFICIAL_APP_METADATA_JSON into the build environment. This is used for publishing official builds of the dev app.
See also
- tamer-dev-client — the dev launcher package embedded in this app
t4l start— dev server with HMRt4l build— native build flags
