Skip to main content
Back to plugins
@capgo/capacitor-android-inline-install
Tutorial
by github.com/Cap-go

Android Inline Install

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

Guide

Tutorial on Android Inline Install

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