ConstInitializes the PWA install prompt for the current platform.
config.installPrompt.enabled === true.beforeinstallprompt and shows a custom banner.Call this method after the GeoLeaf config has been loaded (i.e. from app/boot.ts).
PWA section from the loaded geoleaf.config.json.
true when the app can still be installed on this device — for integrators who
want to render their own install button instead of (or alongside) the built-in
banner.
Mirrors the platform split of PWAManager.init:
beforeinstallprompt; answers from the UA +
navigator.standalone check (installable = iOS and not already installed).true once the browser has handed us a
deferred beforeinstallprompt event.⚠️ On Android this reports "a prompt is available", not "the browser could
install this app": the deferred event is only captured if PWAManager.init
has run, which is gated on modules.pwa.installPrompt.enabled === true. With the
prompt disabled, it answers false even on an installable Chrome. iOS is
unaffected — its check needs no listener.
true if an install path is available right now.
Registry destroy / test seam: tears down both install sub-flows (the Android install-prompt global listeners and the iOS banner timer/banner) so a re-init starts clean (S7.5 — no listener / timer leak).
GeoLeaf PWA Manager. Initializes the appropriate install prompt experience based on the platform.