且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS 12 上的 PWA 不再与 Safari 共享 Service Worker 缓存?

更新时间:2023-12-04 15:16:05

OAuth 登录现在可以从 iOS 12.2(2019 年 3 月)开始,因为外部站点的链接现在在 PWA 应用内浏览器中打开,返回链接指向PWA.因此,我现在可以使用第三方 Auth0 登录在 iOS 上部署 PWA 应用程序(它已经在 Android 和 Windows 上运行).

OAuth login is now possible as of iOS 12.2 (March 2019) as links of external sites now open in a PWA in-app browser and return links point back to the PWA. As a result I am now able to deploy PWA apps on iOS with third-party Auth0 login (it was already working on Android and Windows).

但是请注意,登录会话不会像早期版本的 iOS 那样在 Safari 和 PWA 之间共享.

Note however that login session is not shared between Safari and PWA like in earlier versions of iOS.

我从 这篇文章 来自 Maximiliano Firtman.

I learned of this from this article from Maximiliano Firtman.