-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Chrome and Firefox display prompt #66
Comments
Hi @DaveOrDead, Not sure how I had never considered this. Nor any issues raised around this previously. |
No worries :) I had a look into it myself and it doesn't seem there is a way to reliably and consistently detect iOS Safari, I always ended up with some false positives on Chrome. The simplest / quickest solution (not the most glamorous) would be just to add a line above the direction steps saying something like:
If you do find a reliable iOS Safari detection method I'd be really interested to hear about it |
According to this doc: https://chromium.googlesource.com/chromium/src/+/master/docs/ios/user_agent.md |
For firefox, we can search for FxiOS. |
Is there a quick way to get the user to open the pwa in safari? |
Hey, great project, looks great on the devices I've tested it on.
I thought it was worth noting though that Apple only allows the "Add to Homescreen" feature when using Safari.
The prompt, however, displays on iOS Chrome and Firefox as well which could be confusing for a user as they won't be able to install the PWA without switching to Safari first.
A couple of options:
a) only show the prompt in Safari
b) add the ability to provide different copy depending on the browser
cheers
The text was updated successfully, but these errors were encountered: