Add to homescreen changes in Chrome 68 – Pete LePage

Pete LePage writes about important changes to Add to Homescreen in Chrome
Add to Home Screen changes If your site meets the add to home screen criteria, Chrome will no longer show the add to home screen banner. Instead, you’re in control over when and how to prompt the user.
To prompt the user, listen for the beforeinstallprompt event, then, save the event and add a button or other UI element to your app to indicate it can be installed.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

<p>Pete LePage writes about important changes to Add to Homescreen in Chrome</p> <blockquote> <h2 id="add-to-home-screen-changes">Add to Home Screen changes</h2> <p>If your site meets the add to home screen criteria, Chrome will no longer show the add to home screen banner. Instead, you’re in control over when and how to prompt the user.</p> <p>To prompt the user, listen for the <code>beforeinstallprompt</code> event, then, save the event and add a button or other UI element to your app to indicate it can be installed.</p> </blockquote> <p><a href="https://developers.google.com/web/updates/2018/07/nic68">Read full post</a>.</p> <p>I had mixed feelings about this originally because so many people don't handle the <code>beforeinstallprompt</code> event it meant that all of a sudden the number of installs of Web APK's would drop quite significantly, but I think it's actually the right thing to do.</p> <p>The goal is to reduce the number of annoying prompts happening on the web, and the last thing that we need in the industry is for a relatively large prompt to appear when we think the user might want to install a PWA, instead you now need to think about where and when <strong>you</strong> want to prompt for an install and you have to do it in response to a user-gesture.</p> <p>The neat thing is that we (Chrome) are introducing more ambient ways of letting the user know that an experience is able to be installed, right now it's the small bottom bar that appears on the first load, and hopefully in the future we can explore more subtle ways of letting the user know they can take action.</p>


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2018-07-26T22:46:46+00:00) Add to homescreen changes in Chrome 68 – Pete LePage. Retrieved from https://www.scien.cx/2018/07/26/add-to-homescreen-changes-in-chrome-68-pete-lepage/

MLA
" » Add to homescreen changes in Chrome 68 – Pete LePage." Paul Kinlan | Sciencx - Thursday July 26, 2018, https://www.scien.cx/2018/07/26/add-to-homescreen-changes-in-chrome-68-pete-lepage/
HARVARD
Paul Kinlan | Sciencx Thursday July 26, 2018 » Add to homescreen changes in Chrome 68 – Pete LePage., viewed ,<https://www.scien.cx/2018/07/26/add-to-homescreen-changes-in-chrome-68-pete-lepage/>
VANCOUVER
Paul Kinlan | Sciencx - » Add to homescreen changes in Chrome 68 – Pete LePage. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2018/07/26/add-to-homescreen-changes-in-chrome-68-pete-lepage/
CHICAGO
" » Add to homescreen changes in Chrome 68 – Pete LePage." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2018/07/26/add-to-homescreen-changes-in-chrome-68-pete-lepage/
IEEE
" » Add to homescreen changes in Chrome 68 – Pete LePage." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2018/07/26/add-to-homescreen-changes-in-chrome-68-pete-lepage/. [Accessed: ]
rf:citation
» Add to homescreen changes in Chrome 68 – Pete LePage | Paul Kinlan | Sciencx | https://www.scien.cx/2018/07/26/add-to-homescreen-changes-in-chrome-68-pete-lepage/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.