Universal Links

Universal Links are HTTPS URLs that enable seamless navigation between web content and mobile applications. When a user clicks on a Universal Link, the system checks if the corresponding app is installed. If it is, the app will open directly to the specified content; if not, the link will open in a web browser.

Scenario Description

  • Users access your product on a PC and scan a specified link with their mobile device to enter the DApp within imToken, helping them complete more operations.

  • Users visit your product through a mobile browser and enter the DApp within imToken via a specified link, aiding them in completing additional tasks.

  • Your application does not integrate payment functionality, so you need to guide users to open the imToken app to initiate quick payments.

circle-info

If users do not have the imToken app installed, they will be directed to download and install it.

circle-check

Quick Start

Before you begin, ensure you have a webpage that can be accessed by mobile devices.

https://connect.token.im/link/navigate/DappView?url=<URL>
  • Replace <URL> with the actual URL you want to navigate to within the imToken application.

  • Ensure that the URL is properly encoded to handle special characters. For example:

  1. Web Integration: To integrate this link into a webpage, use an anchor tag:

  2. Integration via QR Code:

You can also generate a QR code that encodes this link for easy scanning by users on their mobile devices.

Last updated