triggerDeepLinkWithFallback
Ce contenu n’est pas encore disponible dans votre langue.
triggerDeepLinkWithFallback(
deepLink,options?):void
Defined in: utils/browser/deepLinkWithFallback.ts:67
Trigger a deep link with visibility-based fallback detection.
Uses the Page Visibility API to detect if the app opened (page goes hidden). If the page remains visible after the timeout, assumes app is not installed and invokes the onFallback callback.
On Chromium Android, converts custom scheme to intent:// URL to avoid the “Continue to app?” confirmation bar.
Parameters
Section titled “Parameters”deepLink
Section titled “deepLink”string
The deep link URL to trigger (e.g., “frakwallet://wallet”)
options?
Section titled “options?”Optional configuration (timeout, onFallback callback)
Returns
Section titled “Returns”void