// Android install was minting a home-screen shortcut instead of the app. // // Chrome offers the real install once, via beforeinstallprompt, and never // replays it. Two things have to hold or the offer is lost and the Install // button degrades to a page of manual instructions — which on a phone reads as // "add a bookmark", and a bookmark is what people got: // // 1. A listener exists before Chrome fires the event. install-prompt.js is a // module, so it is evaluated too late; the capture script has to be a // plain blocking