You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ff-concepts/navigation-routing/deep-dynamic-linking.md
+37-5Lines changed: 37 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -752,10 +752,36 @@ Here’s a quick demo to show how to configure those values inside your library
752
752
753
753
<p></p>
754
754
755
-
**Initialize the Branch SDK**
755
+
#### Initialize the Branch SDK
756
756
757
757
Open your `main.dart` file in FlutterFlow and add the `initBranch` custom action under the **Final Actions** section. This ensures the **Branch SDK** is initialized when your app launches.
758
758
759
+
<div style={{
760
+
position: 'relative',
761
+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
@@ -847,11 +873,11 @@ Use the link data from this callback to:
847
873
- Load content from Firestore using a referenced ID.
848
874
849
875
850
-
:::danger[Testing Deeplinks]
851
-
It’s recommended to test deep links on a **physical device**, as link verification (especially for Universal Links or App Links) may not consistently work on emulators or simulators.
852
-
:::
853
876
854
877
878
+
:::danger[Testing Deeplinks]
879
+
It’s recommended to test deep links on a **physical device**, as link verification (especially for Universal Links or App Links) may not consistently work on emulators or simulators. We recommend using **[Local Run](../../testing-deployment-publishing/running-your-app/local-run.md)** to run your apps on physical devices.
880
+
:::
855
881
856
882
857
883
### Generate Link [Custom Action]
@@ -873,11 +899,17 @@ The action accepts the following parameters:
873
899
- **`description`** – (Optional) A short description of the content.
874
900
875
901
- **`metadata`** – A dynamic map of custom parameters to include with the link
- **`linkProperties`** – A dynamic map for configuring how the link behaves
879
905
(e.g., set the `feature`, `channel`, `campaign`, or `stage` for analytics).
880
906
907
+
:::warning[JSON maps]
908
+
Due to a limitation, if you plan to leave map-type variables (like `metadata` or `linkProperties`) empty, you must still pass them as **empty maps**, not `null`.
909
+
Ensure all keys and values are **plain strings**, avoid nested JSON or non-string types.
910
+
Incorrect structure may cause the Link Generation action to fail silently.
911
+
:::
912
+
881
913
### Branch Helper Functions
882
914
883
915
These functions help you safely work with deep link data, extract values, and conditionally navigate based on link metadata.
0 commit comments