CodeOTR / pwa_install

A Flutter package that allows you to prompt mobile web users to install your Flutter app as a PWA
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

[Feature request] Safari implementation #1

Open prologikus opened 1 year ago

prologikus commented 1 year ago

Can this be made to work on Safari too ?

Lasslos commented 1 year ago

That be really nice. After all, IPhone users are the ones that are my main targets for this, as I don't want to put my App into the AppStore but get asked frequently if its ever gonna be available for them too.

jtmuller5 commented 1 year ago

Safari is one of the only browsers that this won't work on. It's actually a big controversy since they seem to deliberately be shielding iOS users from new web technologies:

https://platform-decentral.com/2020/07/01/safari-is-still-hostile-to-pwas-even-on-macos-big-sur/

jtmuller5 commented 1 year ago

Here is a table showing PWA browser compatibility: https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent#browser_compatibility

image

thunderbug1 commented 7 months ago

https://github.com/CodeOTR/pwa_install/issues/6 could be a workaround for this.