flutter_facebook_app_links
3.1.0, released a year ago by an unverified publisher
Catch deferred deep links from Facebook ads using the FB App Links SDK.
What it does
A Flutter plugin that enables catching deferred deep links sent from Facebook after an app is installed via a Facebook ad. It interacts with the native Facebook SDK to retrieve deep link URLs and handle tracking.
AI-written summary of version 3.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are running Facebook ad campaigns and need to handle deferred deep links upon first app launch
- You need to route users to specific screens inside your app based on Facebook ad clicks
Skip it when
- You only need standard deep linking without Facebook SDK integration
- You cannot comply with Facebook's privacy and GDPR user consent requirements prior to SDK initialization
Strengths
- Direct integration with Facebook App Links SDK for Android and iOS
- Provides explicit methods to initialize and fetch deferred deep links
Weaknesses
- Requires manual platform-specific configuration in Android Strings/Manifest and iOS Info.plist
- Requires explicit user consent handling for GDPR compliance before calling initialization methods
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires adding Facebook App ID and Client Token to Android's strings.xml and AndroidManifest.xml, and configuring URL schemes and keys in iOS Info.plist.
void initFBDeferredDeeplinks() async {
try {
String deepLinkUrl = await FlutterFacebookAppLinks.initFBLinks();
if (Platform.isIOS) {
deepLinkUrl = await FlutterFacebookAppLinks.getDeepLink();
}
} catch (e) {
// handle error
}
}Alternatives
Packages that do the same job and could replace flutter_facebook_app_links.
- flutter_branch_sdk
Flutter plugin for Branch SDK supporting deep links, attribution, and analytics.
86Compare - app_links
Handler for Android App Links, iOS Universal Links, and custom URL schemes across mobile and desktop.
92Compare - zenrouter
Type-safe Flutter routing with deep linking, web support, and visual route graphs.
77Compare - chottu_link
Add short links and deep linking to Flutter applications.
76Compare