Android TV
Hosanna supports Android TV through the Android target. Shared TypeScript code defines the app experience, while the Android project handles native packaging, emulator/device execution, platform services, and Play Store delivery.
Development Flow
- Iterate in Web for shared UI, focus, input, and layout behavior.
- Open the Android project in Android Studio.
- Run the Android TV emulator or a physical Android TV device.
- Validate DPAD focus, Back/Home behavior, text input, networking, playback, and app lifecycle.
- Package release builds through the Android toolchain.
Runtime Notes
- DPAD and remote events should enter the same input pipeline as other TV targets.
- Shared views should use
onInputEvent(event)andnextFocusMap(...)rather than platform-specific focus code. - Native Android services belong behind adapters or platform-specific modules.
- Use AppConfig for shared style and fragment behavior, with platform overrides only when the target needs them.
Release Checklist
- Confirm package id, versioning, signing, and Play Store metadata.
- Validate on emulator and at least one physical Android TV class device.
- Test focus restoration, media controls, lifecycle resume, and low-memory behavior.
- Check performance for collection-heavy screens and image loading.