v0.2.13 · Apache-2.0
LinkMe Flutter SDK
Cross-platform deep linking, deferred deep linking, and attribution for Flutter. One codebase for iOS, Android, web, and macOS.
1 Install
flutter pub add flutter_linkme_sdk
2 Initialize
import 'package:flutter_linkme_sdk/flutter_linkme_sdk.dart';
await LinkMe.shared.configure(
const LinkMeConfig(
appId: String.fromEnvironment('LINKME_APP_ID'),
appKey: String.fromEnvironment('LINKME_APP_KEY'),
),
);
3 Handle Links
// Cold-start link
final initial = await LinkMe.shared.getInitialLink();
// Deferred deep link (first install)
final deferred = initial
?? await LinkMe.shared.claimDeferredIfAvailable();
// Live links while app is running
LinkMe.shared.onLink.listen((payload) {
// Navigate based on payload.path
});
Features
Cross-Platform
Single API for iOS Universal Links, Android App Links, web routing, and macOS. One plugin, all platforms.
Deferred Deep Linking
Pasteboard (iOS), Install Referrer (Android), and fingerprint fallback. Route users on first install.
Analytics
Track app events and attribute installs to campaigns with track() and UTM parameters.
Stream-Based
Dart-idiomatic onLink Stream for reactive link handling. Integrates naturally with your state management.