Comment on page
Deep links
Appetizes deep linking feature can be used to simplify user workflows and reduce friction by allowing users to jump directly to relevant content or actions.
Supported Links
- Android AppLinks / iOS Universal Links
- Custom Schema Deeplinks
- Web Links
This URL will be invoked on launch of the device.
Set the deep-link URL by adding the URL encoded
launchUrl
query parameter to your app or embed URL.&launchUrl=https%3A%2F%2Fwww.appetize.io
Set the deep-link URL of the device via our JavaScript SDK
This URL will be invoked on launch of the device.
await client.config({
launchUrl: "https://www.appetize.io",
...
})
This can be called multiple times after launch of the device.
await session.openUrl("https://appetize.io")
- 1.Open the Terminal on your macOS machine.
- 2.Navigate to the directory where your app's
.app
bundle is located. For example, if your app is namedYourAppName
, and it's in the/Applications
folder, you can use the following command to change to that directory:
cd /Applications/YourAppName.app
- 3.Run the
codesign
command with the--entitlements
flag to extract the entitlements XML from your app bundle:
codesign -d --entitlements - YourAppName.app/
This command will print the entitlements XML to the Terminal.
- 4.Verify that the entitlements XML contains the
com.apple.developer.associated-domains
key and that it specifies the expected URL for your associated domain. The output should look like the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:yourexpected.domain.com</string>
</array>
</dict>
</plist>
Ensure that the
<string>
value within <array>
corresponds to the domain you expect for your app's associated domains.
Last modified 3mo ago