Google Play Instant Setup for Android (Mini Apps)

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Google Play Instant Setup for Android (Mini Apps)
Medium
~3-5 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Setting Up Google Play Instant for Android (Mini Apps)

Google Play Instant enables users to launch part of an application without installation—directly from a web browser, Google Search, or Play Store with a "Try Now" button. Use cases include game demos, new user onboarding, and content preview via deep link without requiring prior installation.

Technically, an instant app is the same APK with strict size and functionality constraints. It's not a separate application—it's a subset of an existing one.

Technical Constraints

Size: An instant experience cannot exceed 15 MB. This is the primary limitation. For applications with numerous assets, fonts, and dependencies, this presents a significant challenge. Android App Bundle with dynamic modules (dynamic-feature) enables you to include only the required functionality in the instant experience.

API limitations: Instant apps operate in a sandbox. Unavailable APIs include READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE, access to contacts, SMS, and persistent notifications. Some hardware APIs are restricted. Bluetooth, camera, and microphone are available with user permission, just like in regular applications.

INSTANT_APPS_ACCESS permission must be added to the instant module's manifest.

Storage: SharedPreferences within instant scope are temporary and cleared. To preserve data between instant and installed versions, use InstantApps.getPackageManagerCompat() with the Cookie API—a small buffer (~16 KB) for transmitting state during installation.

Project Structure with Instant App

The application is divided into modules through Android App Bundle:

  • app — base module (always installed)
  • feature_instant — module with dist:instant="true", included in instant experience
  • remaining feature_* — dynamic modules, downloaded on demand

In feature_instant/AndroidManifest.xml:

<dist:module dist:instant="true">
    <dist:delivery>
        <dist:install-time />
    </dist:delivery>
</dist:module>

install-time for instant means "include in instant experience," not "install with the base module."

The instant module code is launched via an intent with a deep link—the same URL used for App Links. When users install the application, the instant experience seamlessly transitions to the installed version.

Common Implementation Obstacles

15 MB size limit. APK analysis with apkanalyzer reveals what consumes space: typically unoptimized drawables (webp instead of png), fonts (only necessary weights via downloadable fonts), and large libraries. ProGuard/R8 with isMinifyEnabled = true and isShrinkResources = true are mandatory. Sometimes dependencies must be replaced—for example, using the Static Maps API with ImageView instead of the full Google Maps SDK.

Navigation. Instant apps are launched via URL. If navigation is built on internal IDs rather than deep links, refactoring is required. NavDeepLinkBuilder in Navigation Component simplifies this but requires each instant experience screen to have a corresponding URL.

Testing. You can launch an instant app directly from Android Studio using a configuration with Launch: Instant App URL. On the device, enable "Google Play Instant" in Developer Options. Without real device testing, sandbox restrictions are difficult to verify.

Cookie API for state transfer. If a user completes onboarding in the instant version and then installs the app, without the Cookie API that progress is lost. Implementation: store data in a cookie via InstantApps.setInstantAppCookie() in the instant version; on first launch of the installed version, retrieve it via InstantApps.getInstantAppCookie().

Setting up Google Play Instant for an existing application takes 3–5 days, assuming the app already uses a multi-module structure. For a monolithic project, prior modularization adds time. Cost is calculated individually.