flutter_branch_sdk
9.3.8, released yesterday by rodrigomarques.dev
Flutter plugin for Branch SDK supporting deep links, attribution, and analytics.
What it does
Implements the Branch SDK for cross-platform deep linking, referral systems, user attribution, and analytics across Android, iOS, and Web. It provides functionalities to generate deep links, share sheets, track user actions, and handle sessions.
AI-written summary of version 9.3.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need deep linking with attribution and referral capabilities.
- Your app relies on Branch.io for marketing, sharing, and invites.
Skip it when
- You only need basic local routing or simple custom URL schemes without external attribution services.
- You prefer an alternative deep linking solution that doesn't depend on a third-party backend like Branch.
Strengths
- Cross-platform support for Android, iOS, and Web.
- Automated handling of native Branch SDK dependencies.
- Supports modern iOS UISceneDelegate lifecycle and deferred deep linking.
Weaknesses
- Requires manual configuration on the Branch Dashboard and native configuration files (AndroidManifest.xml, Info.plist, or branch-config.json).
- Web integration requires adding custom JavaScript to index.html.
Setup
- Kind
- Plugin (native code)
- Effort
- High
- Code generation
- No
- Direct dependencies
- 1
Requires disabling default Flutter deep linking, configuring Android Manifest and iOS Info.plist or branch-config.json, adding JavaScript snippets for Web, and setting up the Branch Dashboard.
import 'package:flutter_branch_sdk/flutter_branch_sdk.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await FlutterBranchSdk.init();
}Alternatives
Packages that do the same job and could replace flutter_branch_sdk.
- app_links
Handler for Android App Links, iOS Universal Links, and custom URL schemes across mobile and desktop.
92Compare - protocol_handler
Register and handle custom protocols and deep links in Flutter apps.
81Compare - flutter_custom_tabs
Launch URLs in Custom Tabs or SFSafariViewController from Flutter apps
71Compare - chottu_link
Add short links and deep linking to Flutter applications.
76Compare
Works with
Packages commonly used together with flutter_branch_sdk: ones it builds on, ones built on it, and its own family.