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 
Appetize allows configuration of deep links at app launch with launchUrl or during runtime with openUrl, depending on when and how the link needs to be triggered.
launchUrl
To launch a URL (deep link or regular) when the device starts.
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.ioSee Query Params Reference for more information.
Set the deep-link URL of the device via our JavaScript SDK
await client.setConfig({
    launchUrl: "https://www.appetize.io",
    ...
})See Configuration for more information.
openUrl
To launch a URL (deep link or regular) while the device (or application) is already running.
await session.openUrl("https://appetize.io")See the API Reference for more information.
Troubleshooting
Please note that the use of AppLinks and Universal Links may be affected if our network traffic monitor feature is enabled.
Verifying Associated Domains Entitlement included in your iOS App
- Open the Terminal on your macOS machine. 
- Navigate to the directory where your app's - .appbundle is located. For example, if your app is named- YourAppName, and it's in the- /Applicationsfolder, you can use the following command to change to that directory:
cd /Applications/YourAppName.app- Run the - codesigncommand with the- --entitlementsflag to extract the entitlements XML from your app bundle:
codesign -d --entitlements - YourAppName.app/This command will print the entitlements XML to the Terminal.
- Verify that the entitlements XML contains the - com.apple.developer.associated-domainskey 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 updated
