link_bridge
Um plugin Flutter para manipulação de links profundos no Android e no iOS. Suporta ambos os esquemas de URL personalizados e links universais para navegação sem interrupções entre plataformas.
YoussefShehab/LinkBridge open-source repository details.
{"sdk":"flutter"}{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
⚡ To use this plugin, you must create an account and get your App Key here.
A lightweight Flutter plugin for deep linking and deferred deep linking on Android and iOS — a simple, Firebase-free alternative to Dynamic Links.
https://linkbridge.chimeratechsolutions.comAdd this to your pubspec.yaml:
dependencies:
link_bridge: ^1.2.2
Then run:
flutter pub get
Before using the plugin, you must create an account and get your App Key:
You will need this key when generating the DeepLink.
Edit android/app/src/main/AndroidManifest.xml:
<!-- Disable Flutter's default deep linking -->
<meta-data android:name="flutter_deeplinking_enabled" android:value="false" />
<!-- App Link support -->
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="https"
android:host="${your_app_name}.chimeratechsolutions.com"
android:pathPrefix="/link" />
</intent-filter>
🔔 Replace
${your_app_name}with your actual app name or identifier.
applinks:${your_app_name}.chimeratechsolutions.com
Info.plist:<key>FlutterDeepLinkingEnabled</key>
<false/>
<key>AssociatedDomains</key>
<array>
<string>applinks:${your_app_name}.chimeratechsolutions.com</string>
</array>
Import the plugin:
import 'package:link_bridge/link_bridge.dart';
Uri? deepLink = await LinkBridge().init();
LinkBridge().listen((Uri? deepLink) async {
print('New deep link: $deepLink');
});