~/talk

Embedding Flutter In Your App for Fun and Profit

Talkat Chicago Roboto 2020 · 2020-09-28..09-29· [flutter, android]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 3:58Your app can crash if you skip this
  3. 4:25You Need To Have A Flutter Project You Want To Add
  4. 4:53Define your package name
  5. 5:47Add Dependencies
  6. 6:24Build Your AAR
  7. 7:34Depend on the Source
  8. 8:34Android Manifest Change
  9. 9:06Start the Flutter Activity
  10. 9:38What's Going On Here?
  11. 11:46Cache Your Flutter Engine
  12. 15:00The Old vs. The New
  13. 15:51Extending Flutter Activity
  14. 16:18Method Call Handlers
  15. 19:48Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.