Chrome < 68 - Banner notification - Meets the add to home screen criteria => SHOW - Not call preventDefault() on the beforeinstallprompt event => SHOW - Calling prompt() on the beforeinstallprompt event => SHOW
Chrome >= 68 - Mini-inforbar - It will always be displayed as meets the `add to home screen criteria` => SHOW - If dismissed by a user, will not be shown for a period of time (~3 month) => HIDE
Chrome >= 68 - A2HS Dialog - Calling prompt() within a user gesture => SHOW - User tabs the mini-inforbar => SHOW - Clicks 'Add to Home screen' from the Chrome menu => SHOW
- The web app is not installed - User engagement heuristic (for at least 30 seconds) - Web app manifest - short_name or name - icons (192px and a 512px) - start_url - display (fullscreen, standalone, or minimal-ui) - HTTPS with service workers Criteria
- New in Chrome 68 | Web | Google Developers - Changes to Add to Home Screen Behavior | Web | Google Developers - Add to Home Screen | Web Fundamentals | Google Developers - https://pwa.cafe/ - Fresher service workers, by default | Web | Google Developers References