README.md 1.27 KB
Newer Older
Dan Field's avatar
Dan Field committed
1 2 3 4 5 6 7 8
# 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:

9 10 11 12 13
1. A regular iOS view controller (UIViewController), similar to the default
   `flutter create` template (NativeViewController.m).
1. A FlutterViewController subclass that takes over full screen. Demos showing
   this both from a cold/fresh engine state and a warm engine state
   (FullScreenViewController.m).
Dan Field's avatar
Dan Field committed
14
1. A demo of pushing a FlutterViewController on as a child view.
15 16 17 18
1. A demo of showing both the native and the Flutter views using a platform
   channel to to interact with each other (HybridViewController.m).
1. A demo of showing two FlutterViewControllers simultaneously
   (DualViewController.m).
Dan Field's avatar
Dan Field committed
19

20
A few key things are tested here (IntegrationTests.m):
Dan Field's avatar
Dan Field committed
21

22 23
1. The ability to pre-warm the engine and attach/detatch a ViewController from
   it.
Dan Field's avatar
Dan Field committed
24
1. The ability to use platform channels to communicate between views.
25 26 27
1. The ability to simultaneously run two instances of the engine.
1. That a FlutterViewController can be freed when no longer in use (also tested
   from FlutterViewControllerTests.m).
Dan Field's avatar
Dan Field committed
28
1. That a FlutterEngine can be freed when no longer in use.