Open external links in webview as default in IOS PWA

好久不见. 提交于 2019-12-04 06:02:57

This problem is solved in IOS 11.4

UPDATE

@twhite96 @Marty121 The Google Social login worked well few times but now seems to be broken again :/ The offline support seems to be broken too! PWA on IOS sucks! I think we need to wait the next IOS release hoping that they will fix the long list of bugs

Use BUTTON instead of A tag and set onclick with window.location.href = 'yourUrl' It seems to working well

If you use SSR (Server Side Rendering) and your PWA is not static, you should follow App Shell concept. So every time when you click external link, it should be fetched and inserted in your dynamic section. Link: https://developers.google.com/web/updates/2015/11/app-shell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!