Guide

Flutter OTA updates without app store review.

You can change what a shipped Flutter app shows without a new release, if the change is data your app already knows how to render. Here is where that line sits.

The short answer

If you want to update a Flutter app without the app store, there are two different mechanisms. One patches compiled Dart code. The other changes data that already-installed code interprets. Duck is the second kind: it is a server-driven UI toolkit, so it changes layout and content, not code. For the first kind, see Duck vs Shorebird.

What Duck can update over the air

What Duck cannot update

How it works

Your app renders a canvas by id. The canvas is JSON stored on the Duck API, and the package fetches it with a plain HTTP GET:

Request
GET https://duck.flexxxlab.com/api/saved-canvases/<canvasId>
Canvas payload (shape)
{
  "canvas": [
    { "type": "sectionHeader", "title": "Spring sale" },
    {
      "type": "heroCard",
      "title": "Free shipping this week",
      "subtitle": "On orders over $40",
      "thumbnailImageUrl": "https://example.com/banner.jpg",
      "clickable": true,
      "destinationUrl": "https://example.com/sale"
    }
  ]
}

Each entry names a component type and its fields. The app maps that type to a Flutter widget it already contains. Edit the canvas in the builder, save, and the app shows the new layout the next time it loads or is pulled to refresh. A type the app does not know renders a placeholder instead of crashing.

Is this allowed by the app stores?

Stores restrict apps that download and run new executable code, or that change their primary purpose after review. Duck downloads configuration data, not code, and every component that can appear is compiled into the build the store reviewed. That is the same pattern as an app that loads a feed, a CMS page or remote config. Store policies change and apply to your whole app, so read the current Apple App Store Review Guidelines and Google Play policies for your case. This page is not legal advice, and no tool can guarantee a review outcome. Keep remote changes within what your reviewed app does.

When to use it

For a logic bug in Dart, you need a normal release or a code-push tool. They can be combined.

Try it

Follow the quick-start (about five minutes), or read the server-driven UI tutorial. The package is duck on pub.dev.

Related