madskristensen / WebEssentials.AspNetCore.ServiceWorker

Other
339 stars 61 forks source link

iOS Install App Prompt Workarounds? #85

Open kenneymyers opened 3 years ago

kenneymyers commented 3 years ago

Does anyone have a workaround that will prompt the user to install the PWA to their home screen like it does on Android? It seems Apple opted to not include this prompt so the recommendations I have seen is to just provide a dialog that shows users how to use the share/add to home screen option manually. Ideally, though iOS users would get the same experience that Android users get and just get prompted to install the PWA. Anyone do anything clever here with this nuget?

Darkace01 commented 3 years ago

Check out this article it gives a workaround for that. IOS doesn't support it to automatically triggered

PWA IOS

kenneymyers commented 3 years ago

Check out this article it gives a workaround for that. IOS doesn't support it to automatically triggered

PWA IOS

Thank you for the link. I am just curious as to where folks are placing this custom dialog for iOS. It's really too bad that Apple doesn't support the existing install mechanism but I get it for sure. They don't want to make it too easy to bypass iTunes.

Darkace01 commented 3 years ago

That's true, Apple loves to lock users into their ecosystem. I think with the upcoming update they might fix this issue since they are trying to open up more to developers

abitzer commented 1 year ago

It seems that there are no code changes required for this one. Correct? If so, I would suggest to close this one. Any objections?