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.

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

Even if the imToken app is locked, not logged in, or not opened, it will still automatically redirect (after the current transaction is completed).

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:

    https://connect.token.im/link/navigate/DappView?url=https%3A%2F%2Fexample.com%2Fpath
https://connect.token.im/link/navigate/DappView?url=https://tokenlon.im/instant
  1. Web Integration: To integrate this link into a webpage, use an anchor tag:

    <a href="https://connect.token.im/link/navigate/DappView?url=https://tokenlon.im/instant">Open DApp in imToken</a>
  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

Was this helpful?