{"repo":"khmyznikov/pwa-install","free":true,"listed":false,"github":"https://github.com/khmyznikov/pwa-install","clone":"git clone https://github.com/khmyznikov/pwa-install.git","description":"Installation dialog for Progressive Web Application. Provides a more convenient user experience and fixes the lack of native dialogs in some browsers.","language":"TypeScript","stars":903,"topics":["pwa","lit-element","typescript","ios","chrome","safari","react","web-components","component","lit"],"license":"MIT","category":"mobile-apps","readme_excerpt":"\\ New to PWAs? Unsure how to create a Web App? Check out these resources for a quick start: PWA Intro, PWA Starter, PWA Builder Installation dialog for Progressive Web Application (PWA) and Add to Home Screen/Dock dialog for Web Apps. This offers an enhanced user experience and addresses the absence of native dialogs in certain browsers (Safari, Firefox, Opera, etc.). 28kB brotli compressed bundle. Translation/localization is supported. ✨ Now with iOS/iPadOS/MacOS 26+ support for native look and feel! Use it as Web Component with any modern framework. No polyfill is required. - React Install Alternatively, you can use [unpkg or esm.sh. Import TS Config Use - React Supported params Make a good manifest file and don't use name/descr/icon params. Boolean attributes needs to be removed to act like \"false\" Custom Styles Only the Apple template supports styling, and only the tint color option is available as of today. More to come. Supported events - pwa-install-success-event - pwa-install-fail-event - pwa-install-available-event - pwa-user-choice-result-event - pwa-install-how-to-event - pwa-install-gallery-event ⚠️ success/fail/choice events is Chromium only, iOS don't have them. ⚠️ If you see this message in the console: Banner not shown: beforeinstallpromptevent.preventDefault() called. The page must call beforeinstallpromptevent.prompt() to show the banner. This is not a error and not a bug. This means that the component successfully intercepted the beforeinstallprompt event. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/khmyznikov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/khmyznikov/pwa-install/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}