Console
Taqlyn Docs/Platforms/Flutter configure
API v1.41 min read

Flutter configure

configure, resolve, expand, observe, consume, analytics.

LIVE SPECIMEN
Universal & Deferred Link Simulator
URLhttps://taqlyn.com/shop/checkout?cartId=cart_9841&promo=WELCOME20&aff=partner_8
Route: /shop/checkoutMode: Deferred Install
Dart
await TaqlynSdk.configure(
  clientId: 'app_test_…',
  publicKeyId: 'pk_test_…',
  options: SdkOptions(
    linkProcessingMode: LinkProcessingMode.deferredOnly,
    env: 'sandbox',
    resolveMode: ResolveMode.awaitMode,
    fallbackPath: '/',
    hosts: ['https://YOUR_TAQLYN_HOST'],
    timeoutMs: 1500,
  ),
);

final deferred = await TaqlynSdk.resolveDeferred();
final nav = await TaqlynSdk.resolveIncomingUrl(
  'https://YOUR_TAQLYN_HOST/Ab12Cd',
);

TaqlynSdk.observePlatformLinks().listen((link) async {
  await TaqlynSdk.consume(link.linkId); // also trackOpen
});

await TaqlynSdk.logEvent('view_item', data: {'sku': '42'});
await TaqlynSdk.setReadyForNavigation(true);

Warm short codes: short-link expand. Optional go_router helper: Flutter navigation.