expo-linking provides utilities for your app to interact with other installed apps using deep links. It also provides helper methods for constructing and parsing deep links into your app. This module is an extension of the React Native Linking module.
For a more comprehensive explanation of how to use expo-linking, refer to the Linking guide.
Helper method for constructing a deep link into your app, given an optional path and set of query parameters. Creates a URI scheme with two slashes by default.
queryParams (object) -- An object with a set of query parameters. These will be merged with any Expo-specific parameters that are needed (e.g. release channel) and then appended to the url as a query string.
scheme (string) -- Optional URI protocol to use in the URL <scheme>://, when undefined the scheme will be chosen from the Expo config (app.config.js or app.json).
An alias for Linking.createURL(). This method is deprecated and will be removed in a future SDK version.
Helper method for constructing a deep link into your app, given an optional path and set of query parameters. Creates a URI scheme with three slashes for legacy purposes.
queryParams (object) -- An object with a set of query parameters. These will be merged with any Expo-specific parameters that are needed (e.g. release channel) and then appended to the url as a query string.
scheme (string) -- Optional URI protocol to use in the URL <scheme>:///, when undefined the scheme will be chosen from the Expo config (app.config.js or app.json).
A Promise that is fulfilled with true if the link is opened operating system automatically or the user confirms the prompt to open the link. The Promise rejects if there are no applications registered for the URL or the user cancels the dialog.
Helper method which wraps React Native's Linking.getInitialURL() in Linking.parse(). Parses the deep link information out of the URL used to open the experience initially.
handler (function) -- A function that takes an event object of the type { url: string }. This handler should be the same function that you passed in to Linking.addEventListener.
Android only. Launch an Android intent with extras. Use IntentLauncher instead, sendIntent is only included in Linking for API compatibility with React Native's Linking API.