@artsy/eigen-web-association

中文文档
1.6.0发布于 2023/04/19MITCommonJS近 30 天下载 9618

A tiny app that serves the apple-app-site-association required for iOS Handoff related features.

原始使用文档
文档目录4 节
  1. Serving config file
  2. Changing config file
  3. After config changes are merged
  4. Caching

artsy-eigen-web-association

This tiny app does nothing but serve the apple-app-site-association file, needed for iOS Handoff/Universal Links/Shared Web Credentials to work, in the required way.

For more information see:

Serving config file

This app is meant to be used inside other apps. As such, the file serving is mounted at /, which means that the apps using this app should mount it at /apple-app-site-association.

Once mounted, you should be able to verify it’s correctness here.

Changing config file

When making changes, you should do so in the apple-app-site-association.json file.

After config changes are merged

After changes to the apple-app-site-association.json file have been merged, you'll need to update the three places that depend on it which include force and artsy-wwwify. To update the package in force and artsy-wwwify run the command yarn add @artsy/artsy-eigen-web-association@latest in those repositories and check that in. See This PR as an example

Caching

Apple caches the apple-app-site-association file on app install. If you're having trouble clearing the apple-app-site-association file cache on your device, try updating the app or turn Universal Linking off (and on again). While it's not known how often the cache is updated, it does appear to periodically between installs and updates. More details about how Apple caches this file can be found on this Stack Overflow answer.

版本与发布记录

@artsy/eigen-web-association 共发布 13 个版本,首次发布于 2021/11/02;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.6.0latest2023/04/193 年前
1.5.32022/06/104 年前
1.5.22022/06/104 年前
1.5.12022/05/144 年前
1.5.02022/05/134 年前
1.4.02022/05/134 年前

其他发布通道:canary → 1.0.9--canary.41.5.0。

关于 @artsy/eigen-web-association 的常见问题

@artsy/eigen-web-association 是什么?

A tiny app that serves the apple-app-site-association required for iOS Handoff related features.

如何安装 @artsy/eigen-web-association?

在项目目录运行 npm install @artsy/eigen-web-association,或使用 pnpm add / yarn add / bun add。

@artsy/eigen-web-association 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/artsy__eigen-web-association 是否存在。

@artsy/eigen-web-association 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@artsy/eigen-web-association 可以商用吗?

@artsy/eigen-web-association 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@artsy/eigen-web-association 的下载量有多少?

根据 npm 官方下载统计,@artsy/eigen-web-association 在 2026/10/07 – 2026/11/05 这 30 天内被下载 9,618 次,日均约 321 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@artsy/eigen-web-association 还在维护吗?

最新版本 1.6.0 发布于 2023/04/19(3 年前);至今共发布 13 个版本,其中过去 12 个月发布了 0 个;首次发布于 2021/11/02。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。