This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.

Expo 链接

提供通用创建和打开深度链接的方法的 API。

Android
iOS
tvOS
Web
Included in Expo Go
Recommended version:
~58.0.11

expo-linking 提供了工具,让你的应用可以通过深度链接与其他已安装的应用进行交互。它还提供了用于构建和解析进入你应用的深度链接的辅助方法。这个库是 React Native Linking 的一个扩展。

有关如何使用 expo-linking 的更全面说明,请参阅 链接到其他应用。

🌐 For a more comprehensive explanation of how to use expo-linking, refer to the Linking into other apps.

安装

🌐 Installation

Terminal
- npx expo install expo-linking
- yarn expo install expo-linking
- pnpm expo install expo-linking
- bun expo install expo-linking

If you are installing this in an existing React Native app, make sure to install expo in your project.

应用接口

🌐 API

import * as Linking from 'expo-linking';

No API data file found, sorry!