Dining Table, td{
border: .5px Strong black;

Previously, instant programs required creating a feature module which acted as the foundation module to your program. This foundation feature module contained the code and resources to application and your prompt. The remainder of your codebase was comprised of:

  • multiple non-base feature modules, which included the instant app entry points,
  • a program module, which included the code and activities required only for your main installed program, and
  • an instantaneous app module, which symbolized the instantaneous app and mapped its own dependencies.

If you don’t have an instant experience added to your program and you’d like to create a single, use Android Studio 3.3+ to make an instant-enabled program package .

<dist:module

By migrating your app to an instant-enabled app package with attributes, you'll be prepared to leverage the full power of this new paradigm and you'll have the ability to simplify your app layout.

Last year, we introduced Android App Bundles–a brand new way to construct and publish your own Android apps. App bundles simplify delivering optimized APKs, such as delivery, to one artifact by unifying slides right. Google Play manages distribution by serving the right APKs to your instant and installed app users–this is called Dynamic Delivery. To learn more about app packages, visit the documentation site.

As of Android Gradle plugin 3.4.0 (included in Android Studio 3.4), we are starting the deprecation process of this feature plugin (com.android.feature) and instantaneous program plugin (com.android.instantapp) as a way to construct your instant program. When building your app, you’ll be given a warning flagging com.android.feature as deprecated. If you’ve got an existing instant app built with the feature plugin, then migrate your current program to a instant-enabled app bundle when possible.

What is changing?

Dist:instantaneous =”…”
dist:onDemand=”…”…

dist:instant="false" dist:instantaneous ="true"
dist:onDemand="false" Dynamic feature delivered at install time Dynamic feature delivered immediately and at install time
dist:onDemand="true" Dynamic feature delivered on demand (beta) N/A

Dynamic Delivery is based on the idea of shipping dynamic features (com.android.dynamic-feature) to app users when they want them and only if they want them. There are currently three delivery types, based on the various values you will give the dist:module tag attributes on the dynamic feature module’s manifest file:

With the newest app package implementation, your base attribute module takes the function as your program module (com.android.application), hosting the code and resources common to all attributes (instantaneous and installed). You organize modular attributes as one of three types of feature modules, based on if you wish to deliver them. The instant app module disappears, since the dist:instantaneous features in the manifest are sufficient to identify which features will be included as part of their instantaneous experience.