如何在 Chrome 中为 iOS 使用 Web-NFC?

How to use Web-NFC in Chrome for iOS?

我想在 iPhone 和 iOS 设备上的浏览器 chrome 或 Safari 中读取和写入 NFC 标签。

根据示例,用法似乎很直接,并且在 chrome 中激活实验标志后似乎适用于 android。 Chrome NFC Sample.

但是我缺少在 iOS 上启用 chrome flag "enable experimental web platform features" 的选项。

如何为 iOS 在 Chrome 上激活 web-nfc 功能?

自 2020 年 11 月 23 日起,Chrome 不支持 iOS 的 Web-NFC。

对于iOS13,NFC是available for native iOS developers. However, it seems it isn't yet available within Chrome for iOS according to whatwebcando.today

发布了 comment within the Google Chrome Feature Request for Web-NFC to also support Chrome for iOS.

相关链接:

tl;dr 看起来像是在 2020 年 6 月,Apple 宣布他们将不会实施 Web NFC API,除此之外,除非他们对指纹能力的隐私问题得到解决

Finally, if we find that features and web APIs increase fingerprintability and offer no safe way to protect our users, we will not implement them until we or others have found a good way to reduce that fingerprintability. We continue to have open discussions with other browser makers through the web standards process, many of whom share these concerns. Here are some examples of features we have decided to not yet implement due to fingerprinting, security, and other concerns, and where we do not yet see a path to resolving those concerns: ... Web NFC API ...

来源:Tracking Prevention | Apple

Apple declined to implement 16 Web APIs in Safari due to privacy concerns | ZD Net