iOS 113上的PWA问题 [英] Issue with PWA on iOS 113

查看:56
本文介绍了iOS 113上的PWA问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将手机更新到11.3之前,我一直使用完美的PWA(引入了Service Workers的支持,因此在我的iPhone中,它只是一个书签),所有这些都像魅力一样工作. 更新至iOS 11.3后,由于我具有外部登录名(在其他域中),因此无法进入我的应用程序,因此,每次尝试打开打开文件时,都会打开一个野生动物园浏览器以进行身份​​验证.在iOS中使用PWA之前,外部URL是在相同的打开路径中打开的(没有打开的野生动物园).您知道这是否是正确的行为吗?如果可以,我该如何解决?

I have a PWA that I've been using perfectly till I updated my phone to 11.3 (introduce Service Workers supports, so in my iPhone it was only a bookmark) and all worked like a charm. After I've updated to iOS 11.3 I wasn't able to enter to my app because I have an external login (in other domain) so each time I try to open my open this will open a safari browser to make the auth. Before PWA in iOS the external URLs were open in the same open (without open safari). Do you know if this is the correct behavior and, if it is ok, how can I fix it?

谢谢!

推荐答案

似乎在最新的iOS版本11.4中,此问题已解决,我认为现在Safari可以在浏览器和PWA之间共享上下文,例如从PWA中共享可以通过Safari浏览器访问Cookie. 但是我认为,当您打开PWA并登录到浏览器中时,您将被重定向到登录(Safari浏览器打开)时仍然存在问题(iOS不会返回PWA,但这是第一步)

It seems that with the last iOS version 11.4 this issue is solved, I think that now safari shares the context between the browser and the PWA and for example from PWA cookies can be accessed throw safari. But I think there's still an issue when you open the PWA and you are being redirect to login (safari opens) once you're log in you stay in the browser (iOS does not return to the PWA, but this is a first step)

这篇关于iOS 113上的PWA问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆