Embedding Flutter In Your App for Fun and Profit
summary
The Games team at The New York Times embeds a Flutter module into existing iOS and Android apps, shipping the Spelling Bee prototype to production and juggling a tiny team. Integration uses either AARs deployed to an internal Maven repo or direct source dependencies, CI via Bitrise, and AndroidX only. Startup shows ~2s delay and ~40 MB per engine so performance comes from priming the Flutter Engine and caching it, and interop relies on method channels (JSON over channels) to reuse native logic while avoiding crashes on unsupported x86_32 devices.
AI-written summary · about
chapters (15)
- 0:00Start
- 3:58Your app can crash if you skip this
- 4:25You Need To Have A Flutter Project You Want To Add
- 4:53Define your package name
- 5:47Add Dependencies
- 6:24Build Your AAR
- 7:34Depend on the Source
- 8:34Android Manifest Change
- 9:06Start the Flutter Activity
- 9:38What's Going On Here?
- 11:46Cache Your Flutter Engine
- 15:00The Old vs. The New
- 15:51Extending Flutter Activity
- 16:18Method Call Handlers
- 19:48Recap
related talks
44mAdd a Flutter module to an existing app
34mHow to add Flutter to your existing app
46mAdd Flutter to your existing mobile app
36mFlutter Add-to-App: The Good, the Bad and the Ugly
28mAMA with Brian Egan and Filip Hracek
45mFlutter: A journey of productivity and happiness
41mWhy is Flutter the mobile SDK developers deserve...
30mAdding Flutter to your app - what are they not telling you?
