Lurker News

Comments (228) 67 threads

Show all comments

Showing thread 43 of 67

iansinnott2 replies#
There is still no way to trigger an "install on homepage" dialogue from javascript, right?

This seems to be the biggest limiting factor to me—The need for PWAs to include _instructions on how_ to install the app rather than a button to make it so.

presson1 reply#
Not on iOS, but you can trigger native install prompts on android and chromium browsers (Chrome and Edge).
presson1 reply#
Edit: Not on iOS...yet.
iansinnott#
Oh, didn't know that about Android. That's a definite improvement.

> yet
Is there supposed planned support for this on iOS? Seems like it would be counter to Apple's incentives, but I'd love to see it happen.

Velc#
You can check the browser user agent is running safari + !standaloneMode and show a popup modal. This is how I handle it in react.

Surprisingly it actually converts to "Installs" incredibly well. Better than some native apps I own. I think user friction is actually quite low - no 'web app > app store > mobile app' flow - just two buttons and its on the home screen, no need to login w/ apple id etc.