Roku
Hosanna ships Roku apps by transpiling TypeScript into BrightScript and SceneGraph components. The Roku target is the most mature device path and is the best reference target for packaging, source maps, device logs, and release automation.
Development Flow
- Develop shared UI in Web for fast iteration.
- Run the
[ROKU]launch target from VS Code. - Compile with
hscusing the Rokuhsconfigfile. - Bundle and deploy to a Roku device through BrighterScript tooling.
- Validate focus, remote input, media playback, deep links, and app startup on device.
Runtime Notes
- Input flows through Roku key events into
HsInputEvent,FocusManager.handleInputEvent(event), and focused viewonInputEvent(event)handlers. - Native Roku services can be wrapped with typed SceneGraph interfaces or isolated in
hs_native_rokusnippets. - Source maps allow breakpoint debugging from TypeScript into generated BrightScript.
- The MCP debugger and Hosanna DevTools can inspect app state, focus, logs, screenshots, and runtime trees.
Release Checklist
- Configure
assets/meta/app.config.json. - Confirm package metadata and signing keys.
- Run production compiler and package scripts.
- Test on representative low-end and current Roku hardware.
- Verify channel size, app launch, networking, video, focus, and store deep-link requirements.
See Building For Roku and Native Development Roku for the detailed device workflow.