Skip to content
tezvyn:
Menu

Google Play Dynamic Delivery: Ship Features On-Demand

Source: developer.android.comMediumHow cards are made

Google Play Dynamic Delivery: Ship Features On-Demand

Shrink your app's initial install size by delivering features on-demand. Instead of one giant APK, Dynamic Delivery sends a small base app, then downloads larger features like AR modes or special tools only when the user needs them.

Why it exists

Large apps have lower installation rates. To combat this, Google Play Dynamic Delivery was created to reduce the initial download size, making it faster and cheaper for users to get started with an app, especially in regions with limited data or device storage.

The mental model

Think of your app not as a single, monolithic file, but as a base module plus optional feature modules. The Play Store acts as a smart delivery system, sending only the core app initially. It then delivers other features—like a game level or a complex editing tool—only when the user needs them or under specific conditions you define.

How it works

You structure your app using Android Studio's feature modules and build an Android App Bundle (.aab). When a user installs your app, Play generates a highly optimized APK with just the base code. You can configure other feature modules to be delivered in several ways: install-time (for everyone), conditional (based on country or device specs like AR support), on-demand (when the user requests it), or fast-follow (downloading in the background right after install). Your app uses the Play Core Library to request and manage on-demand modules.

When to use it

Use Dynamic Delivery for significant, self-contained features that are not essential for the first-run experience. Examples include advanced photo editing tools, AR/VR features, complex tutorials, or specific high-end game modes. It's most impactful for large applications where modularization provides significant size savings.

When not to use it

Avoid this for small apps where the complexity outweighs the benefits. Most importantly, never place core, essential functionality required for the app to launch and be useful into an on-demand module. The base module must always contain everything needed for a coherent first experience.

One canonical example

A social media app ships with a base module for viewing feeds and posting text. It has a separate, on-demand feature module for a sophisticated video editor. When a user taps "Edit Video" for the first time, the app requests the module. The Play Core Library shows a progress dialog, downloads and installs the video editor, and then launches the feature, all without the user leaving the app.

Interview question

Which feature is the most appropriate candidate for an on-demand module using Google Play Dynamic Delivery?

  • a.A small, single-purpose calculator app's core logic.
  • b.An advanced, optional augmented reality (AR) filter suite in a large photo editor.Correct
  • c.The essential user login and registration flow.
  • d.The primary content browsing interface of a news application.
Why?

Option B is correct because the card specifies Dynamic Delivery is for "significant, self-contained features that are not essential for the first-run experience," explicitly listing AR/VR features. Options A, B, and D represent core functionality or small apps, which the card advises against using Dynamic Delivery for, as they are either essential or the complexity outweighs the benefits.

Just read this? Test yourself on what you have been reading.

Read the original → developer.android.com

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on android — each one lists the topics its interview covers.

See open roles