ulynx 0.3.0 copy "ulynx: ^0.3.0" to clipboard
ulynx: ^0.3.0 copied to clipboard

PlatformAndroid

ulynx deferred deep linking SDK for Flutter — resolve deferred links and app links to a unified UlynxLink.

ulynx (Flutter) #

The Flutter SDK for ulynx deferred deep linking.

Install #

dependencies:
  ulynx: ^0.2.0

Usage #

import 'package:ulynx/ulynx.dart';

final client = UlynxClient();

// First launch: resolve a deferred link (reads the install token, calls the engine).
final deferred = await client.resolveDeferredLink();
if (deferred != null) {
  // route on deferred.shortCode / deferred.destinationUrl
}

// Incoming app link (e.g. from app_links):
final link = client.linkFromUrl(incomingUrl);
if (link != null) {
  client.reportOpen(link); // fire-and-forget attribution
}

The default TokenSource reads the iOS clipboard / Android Play Install Referrer. Inject a custom TokenSource or http.Client for testing.

Deferred resolution reads the clipboard only on the first launch after install (persisted via shared_preferences), so iOS prompts for paste at most once.

License #

MIT

0
likes
150
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

ulynx deferred deep linking SDK for Flutter — resolve deferred links and app links to a unified UlynxLink.

Repository (GitHub)

Topics

#deep-linking #deferred-deep-linking #attribution

License

MIT (license)

Dependencies

flutter, http, play_install_referrer, shared_preferences

More

Packages that depend on ulynx