GeoLeaf Core API - v3.19.0
    Preparing search index...

    Variable InstallPromptConst

    InstallPrompt: {
        init(appName?: string): void;
        isInstallable(): boolean;
        _reset(): void;
    } = ...

    Android PWA install prompt controller.

    Type Declaration

    • init: function
      • Registers event listeners for beforeinstallprompt and appinstalled. Shows a banner when the browser signals the PWA is installable. Does nothing if the user has previously dismissed the prompt, and is idempotent (a second call does not stack a second set of global listeners).

        Parameters

        • appName: string = "GeoLeaf"

        Returns void

    • isInstallable: function
    • _reset: function