Blog

What porting a Fire TV app to Vega OS actually takes

I ported one of our Fire TV apps, Doric TV, from Fire OS to Amazon's new Vega OS. Doric TV is a catalog of workout videos: a home screen with a featured session and rows of videos, a detail screen, and a full-screen player. The Fire OS version is a native Android app in Kotlin. The Vega version is React Native, built with Amazon's Vega SDK 2.0. Here's what that took.

Setup is quick, and you don't need an account to start

Amazon's Vega Developer Tools install on a Mac with one script. That gives you the Vega command-line tools, the SDK and the Vega Virtual Device, an emulator that runs Vega apps at 1080p on your computer. You don't need an Amazon account to build an app or run it in the emulator. You only need one to put a real Vega stick into developer mode.

Two things to know: the installer adds a line to your shell profile, and the tools send usage data to Amazon by default. Both are easy to change, but neither is announced loudly.

What carried over unchanged

  • The catalog. Doric TV reads its videos from one JSON file. The Vega app uses the exact same file, byte for byte.
  • The design. Colors, type sizes, the wordmark and the copy all came straight across. React Native styles map closely to what we had.
  • The behavior. The rules that make a TV app feel right, like where focus starts, how a focused card looks and where focus lands when you go back, are product decisions, not Android code. Writing them down once made them easy to rebuild.

If your Fire OS app has a clean API and a written-down set of screen rules, most of a port is rebuilding screens against things you already know.

What had to be rebuilt

Every screen

The Android screen code doesn't come with you. The home screen, rows, cards, detail screen and player are all new React Native components. That's the bulk of the work, and why a port is priced by how many screens and special cases an app has.

Storage and the remote

Vega has its own versions of common React Native pieces. Watch history and resume positions moved to Amazon's AsyncStorage package. Remote buttons arrive through React Native's TV event handler. Play, pause and seek on the remote have to be wired to the player yourself.

The player

Doric TV plays videos through YouTube's official embedded player. On Vega that runs inside Amazon's WebView package, with the app sending the remote's play, pause and seek to the embed's own player controls. A licensed streaming app would use Vega's own media playback APIs instead, which is a different and more involved piece of work.

Small visual gaps

React Native has no built-in gradient, so the soft fade behind our hero image and player overlay didn't come over for free. Details like this are where a port can start to look cheaper than the original. Budget time for them.

What the emulator can't tell you

In the emulator, home, detail, focus and watch history all behaved exactly like the Fire OS app. Playback didn't: the video started, then usually stalled a few seconds in. A few videos that play fine elsewhere showed YouTube's "This video is unavailable." That points to the emulated web view, not the app. But I can't prove that without real hardware, so I don't claim playback works on Vega until we've tested it on a real stick.

That's the general lesson. Use the emulator for layout, focus and logic, and test on a Vega device before you promise anything about video.

The numbers

  • Package size: 1.01 MB for the Vega release build, compared with 1.26 MB for the Fire OS APK.
  • Tests: seven automated tests cover the catalog, the featured-video pick and watch history.
  • Startup: the emulator's startup measurement came back empty, so I don't have a number I'd stand behind yet.

You can see the Vega version's screens on our Fire TV page. If your app isn't on Vega yet, a Fire TV Audit is the low-risk first step: it ends with a fixed price for your port.