-
Notifications
You must be signed in to change notification settings - Fork 82
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
caveats? #22
Comments
Thanks, I'll look at this and make it clear in the README. |
If I remember correctly, most of the issues I mentioned are iOS 11.2 and earlier as 11.3 started using the Web App Manifest. Also, you may want to mention and link to https://gist.github.com/kylebarrow/1042026 as a possible "hack" to allow regular web links to not open in a new window, however when I tried it I had issues with it working in all cases. |
I've added notes on caveats. by the way, "start_url" should work fine in iOS—as of iOS 11.3, it's actually read and respected from the manifest properly. See tracking issue. |
@samthor - I really think 'start_url' being ignored should also be included in the README. It essentially ignores that and uses whatever the current URL is. Thanks for including the section, I hope it helps others out! |
Sure, but it's fixed as of iOS 11.3. So I can include the caveat for users before that version of iOS. There is also a sort of fix for this, which I used to provide in PWACompat v1, but it was less relevant going forward. You use |
For me, I just saw how broken 11.2 was and decided against even trying to support it. Most polyfill libraries make it so you get all the functionality you expect without having to worry about it, but there's a pretty big gap between 11.3 and 11.2 even with this library. For me, it'd be helpful to know those pitfalls when reading the README instead of discovering them afterwards. The changes you made are good, I just think you should also mention the |
I'm wondering if there should be a list of short-comings that this library can't handle. For example, "start_url" won't be used in iOS and it just uses the current URL. Also, all regular web links in iOS are opened in a new Safari window and the "scope" value is ignored. (apparently some of these things are fixed in newer version of iOS that support a web manifest, but I'm curious how that handles both a manifest and the meta attributes being set... unfortunately I have no way of testing it)
The text was updated successfully, but these errors were encountered: