iOS Add2App Test
This application demonstrates some basic functionality for Add2App, along with a native iOS ViewController as a baseline and to demonstrate interaction.
The following functionality is currently implemented:
- A regular iOS view controller (UIViewController), similar to the default
flutter create
template. - A FlutterViewController subclass that takes over full screen. Demos showing this both from a cold/fresh engine state and a warm engine state.
- A demo of pushing a FlutterViewController on as a child view.
- A demo of showing both the native and the Flutter views using a platform channel to to interact with each other.
- A demo of showing two FlutterViewControllers simultaneously.
A few key things are tested here:
- The ability to pre-warm the engine and attach/detatch a ViewController from it.
- The ability to simultaneously run two instances of the engine.
- The ability to use platform channels to communicate between views.
- That a FlutterViewController can be freed when no longer in use.
- That a FlutterEngine can be freed when no longer in use.