Documentation / @frak-labs/core-sdk / index / triggerDeepLinkWithFallback
Function: triggerDeepLinkWithFallback()
triggerDeepLinkWithFallback(
deepLink,options?):void
Defined in: utils/deepLinkWithFallback.ts:59
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
deepLink
string
The deep link URL to trigger (e.g., "frakwallet://wallet")
options?
Optional configuration (timeout, onFallback callback)
Returns
void