Skip to content

Building

Umberto Sonnino edited this page Jul 31, 2018 · 6 revisions

Folder Structure [!]

The Flutter repository must be checked out at the same level as the FlutterHotReloadGame one.

For example:
~/Projects/flutter
~/Projects/FlutterHotReloadGame

The TV App makes one other assumption with this directory structure when sending the command to Hot Reload, so it expects the Simulator App to be at ~/Projects/FlutterHotReloadGame/simulator_app.

Building the TV App

Building this App actually entails building two apps:

  • The macOS Shell that contains the platform level plugins for Audio and Hot Reload;
  • The Flutter tv_app that is embedded into the MacOS Shell App.

Building both of these is done by simply cloning the FlutterHotReloadGame repository, opening the XCode Project, and building: FlutterHotReloadGame/monitor/macos/monitor_shell/Monitor Shell.xcodeproj

N.B. Initially the "TV App" was labeled "Monitor App", and some folders and files might still be using the legacy name.

Flutter Apps

There are three Flutter apps in this repository:

  • The TV App located at FlutterHotReloadGame/tv/tv_app
  • The Simulator App located at FlutterHotReloadGame/simulator_app
  • The Tablet App located at FlutterHotReloadGame/tablet_app

Flutter Apps can be built using the standard tools provided by the SDK (Android & iOS).

Clone this wiki locally