1 of 19

Eric Seidel

Flutter Founder

Full Stack Flutter 2023

2 of 19

You’ll learn

  • What is code push
  • Adding code push to your Flutter app
  • How does it work?

3 of 19

Eric Seidel

Flutter Founder

Former Eng. Dir for Flutter & Dart

Left Google in 2022

Founder & CEO, Shorebird

4 of 19

5 of 19

6 of 19

What’s code push?

  • Over-the-air, instant updates for Flutter code on user devices.
  • Real problem for businesses.
    • Downtime = lost revenue.
    • Code push = insurance you can fix things quickly if they go wrong.
  • Every large app uses code push
    • Large install base = long store update time
  • A missing piece for adopting Flutter
    • Make your mobile team as productive as your web team.

7 of 19

“not planning on investing in built-in support for code push or hot updates”

- Google Flutter Team, 2024 Roadmap

8 of 19

Built by Flutter Experts

9 of 19

Demo

10 of 19

Demo

  • Integrate in < 5 mins
  • No code changes required.
  • No dev-flow changes.

Skipping

  • OAuth
  • Installer

11 of 19

Demo

12 of 19

Code push for Flutter

  • Update any amount of Dart code
  • Change any Dart packages.
  • Immediately, on devices in the field.
  • Production ready on Android and iOS

13 of 19

Shorebird 1.0

  • Android since May 2023
  • 1.0 & iOS since March 2024
  • Thousands of users
  • Millions of patches every month

14 of 19

How does it work?

  • Drop in replacement for `flutter build –release`
    • No changes to your code or dev flow.
  • Works locally or in your continuous integration (CI).
  • Optional package:shorebird_code_push for greater control.

15 of 19

We did the hard work, so you don’t have to

  • Custom Flutter Engine including Shorebird Updater.
  • Custom Dart compiler and interpreter.
    • Result: Update any Dart code (don’t have to predict where bugs might occur).
  • Differential patches (patch sizes are bytes, not megabytes)
  • Secure by design (SSL, Google Cloud, signed/verified updates)
  • Private by design (never see your code, don’t collect any user data)

16 of 19

Safe, you can ship today

  • Patches verified on-device.
  • Automated rollback on failures.
  • Your compiled binary is hosted on our servers. We never see your source.
  • Tracks latest Flutter Stable (within hours of release).

Designed to never be worse than your current setup.

17 of 19

Safe for Stores

Play Store

“An app … may not modify, replace, or update itself using any method other than Google Play's update mechanism.” … “This restriction does not apply to code that runs in a virtual machine or an interpreter

Shorebird uses the Dart Virtual Machine. Similar to how other apps use JavaScript or Lua.

App Store

3.2.2. “Application may not download or install executable code. Interpreted code may be downloaded…”

Shorebird uses a custom Dart interpreter on iOS to both comply with store guidelines and provide excellent performance.

18 of 19

19 of 19

shorebird.dev

discord.gg/shorebird