AppKit Link Mode is a low latency mechanism for transporting One-Click Auth requests and session requests over Universal Links, reducing the need for a WebSocket connection with the Relay. This significantly enhances the user experience when connecting native dApps to native wallets by reducing the latency associated with network connections, especially when the user has an unstable internet connection.
By enabling it, the wallet and dapp will communicate through declared Universal Links on iOS and/or App Links on Android even without an internet connection.
For Link Mode to work fully, you also need to enable the One-Click Auth + Sign In With Ethereum feature.
This feature is compatible only with EVM blockchains, so if you decide to included non-EVM blockchains Link Mode mechanism is going to be disabled internally.
Check out SIWE basic example to try it out.
Add a Universal Link for your wallet in the Explorer tab of your Cloud project configuration, under the Mobile Linking section
Configure your PairingMetadata
’s redirect:
object with that Universal Link
Set the linkMode
property to true
:
Once everything is properly configured, and the user interacts with a Link Mode-supporting Wallet, your dApp will receive responses through it.
In Flutter, there are several plugins that can help you integrate Universal/App Links. However, regardless of which one you choose, it is crucial that, when capturing an incoming link, you pass it to AppKit so it can process the request.
AppDelegate
or SceneDelegate
..well-known/apple-app-site-association
file accordingly.For more information on how to configure universal links for your app, refer to the Apple Documentation.
For a debugging guide, visit the Debugging Universal Links page.
You can check our Flutter’s AppKit sample AppDelegate file as a reference.
AppDelegate
or SceneDelegate
..well-known/apple-app-site-association
file accordingly.For more information on how to configure universal links for your app, refer to the Apple Documentation.
For a debugging guide, visit the Debugging Universal Links page.
You can check our Flutter’s AppKit sample AppDelegate file as a reference.
onCreate
method and in onNewIntent
callback.AndroidManifest.xml
file with the autoVerify
set to true
:.well-known/assetlinks.json
file accordinglyFor more information on how to configure app links for your app, refer to the Android Documentation.
For enabling links to app content check this documentation page.
For more information on how to interact with other apps using intents, see Android Intent Documentation.
You can check our Flutter’s AppKit sample MainActivity file as a reference.