Skip to main content
Back to plugins
@capgo/capacitor-android-inline-install
Tutorial
@capgo/capacitor-android-inline-install

Android Inline Install

Install app updates directly within the app without leaving to Play Store

Guide

Tutorial on Android Inline Install

Test on device

Download the Capgo app, then scan the QR code.

Android Inline Install plugin preview QR code

Using @capgo/capacitor-android-inline-install

Android Inline Install Plugin for triggering Google Play in-app install flows.

Install

bun add @capgo/capacitor-android-inline-install
bunx cap sync

What This Plugin Exposes

  • startInlineInstall - Start an inline install flow using the Google Play overlay.

Example Usage

startInlineInstall

Start an inline install flow using the Google Play overlay.

import { AndroidInlineInstall } from '@capgo/capacitor-android-inline-install';

const result = await AndroidInlineInstall.startInlineInstall({
  id: 'com.example.app',
  referrer: 'my-referrer',
  overlay: true,
  fallback: true
});

if (result.started) {
  console.log('Install flow started');
  if (result.fallbackUsed) {
    console.log('Using fallback Play Store link');
  }
}

Full Reference

Keep going from Using @capgo/capacitor-android-inline-install

If you are using Using @capgo/capacitor-android-inline-install to plan store approval and distribution, connect it with @capgo/capacitor-android-inline-install for the implementation detail in @capgo/capacitor-android-inline-install, Getting Started for the implementation detail in Getting Started, @capgo/capacitor-in-app-review for the implementation detail in @capgo/capacitor-in-app-review, Using @capgo/capacitor-in-app-review for the native capability in Using @capgo/capacitor-in-app-review, and @capgo/capacitor-native-market for the implementation detail in @capgo/capacitor-native-market.