Skip to content

Commit ba5c8f6

Browse files
committed
add comma after e.g
1 parent 8c88f22 commit ba5c8f6

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

docs/ff-concepts/navigation-routing/deep-dynamic-linking.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ requires authentication, you'll see a login page. After successful login, you ca
3434
shared with you.
3535

3636
The best thing to note here is that even if the app has a different flow for accessing the page
37-
content (e.g. Home Page -> All Posts -> Single Post), you can bypass the flow and directly open a
38-
specific page (e.g. Single Post).
37+
content (e.g., Home Page -> All Posts -> Single Post), you can bypass the flow and directly open a
38+
specific page (e.g., Single Post).
3939

4040
## Deep Link
4141

@@ -330,7 +330,7 @@ To share the dynamic link of the page:
330330

331331
1. Select the page that you would like to open via a deep link.
332332

333-
2. Select any widget (e.g. share button) from the widget tree or the canvas area.
333+
2. Select any widget (e.g., share button) from the widget tree or the canvas area.
334334

335335
3. First, add the action
336336
to [Generate Current Page Link](generate-current-page-link.md#defining-generate-current-page-link-action).
@@ -799,13 +799,13 @@ the link data, allowing you to perform custom navigation or logic. You can perfo
799799
800800
The `handleBranchDeeplink` action receives a `linkData` object that contains all the metadata sent with the link. The `linkData` parameter is a Map containing useful information from the Branch link:
801801
802-
- **`$canonical_identifier`:** The original route path used when the link was generated (e.g. `/imageDetails/:id`).
802+
- **`$canonical_identifier`:** The original route path used when the link was generated (e.g., `/imageDetails/:id`).
803803
804804
- **`~referring_link`:** The full Branch URL that was clicked.
805805
806-
- **`page`:** The target page or screen the link is meant to open (e.g. paywall). This is a custom parameter set by the user when generating the link.
806+
- **`page`:** The target page or screen the link is meant to open (e.g., paywall). This is a custom parameter set by the user when generating the link.
807807
808-
- Any custom parameters added during link creation (e.g. `campaign`, `productId`, `referrer`, etc.)
808+
- Any custom parameters added during link creation (e.g., `campaign`, `productId`, `referrer`, etc.)
809809
810810
This lets you write flexible, conditional navigation logic based on what was shared.
811811
@@ -863,31 +863,31 @@ This is especially useful when you want to let users:
863863
864864
The action accepts the following parameters:
865865
866-
- **`canonicalIdentifier`** – A unique path for the content (e.g. `/imageDetails/:id`). This becomes the key reference used when routing the user back into the app.
866+
- **`canonicalIdentifier`** – A unique path for the content (e.g., `/imageDetails/:id`). This becomes the key reference used when routing the user back into the app.
867867
868868
- **`title`** – The link's title (used in social previews or analytics).
869869
870870
- **`description`** – (Optional) A short description of the content.
871871
872872
- **`metadata`** – A dynamic map of custom parameters to include with the link
873-
(e.g. page: "imageDetails", imageRef: "abc123", etc.)
873+
(e.g., page: "imageDetails", imageRef: "abc123", etc.)
874874
875875
- **`linkProperties`** – A dynamic map for configuring how the link behaves
876-
(e.g. set the `feature`, `channel`, `campaign`, or `stage` for analytics).
876+
(e.g., set the `feature`, `channel`, `campaign`, or `stage` for analytics).
877877
878878
### Branch Helper Functions
879879
880880
These functions help you safely work with deep link data, extract values, and conditionally navigate based on link metadata.
881881
882882
- **`isTargetingPage(linkData, targetPage)`** - Checks whether the page value in the link data matches a specific screen name. The `page` parameter is set by the user when generating the link from Branch dashboard or FlutterFlow.
883883
884-
- **`getCanonicalIdentifierFromLink(linkData)`** - Returns the canonical path (e.g. `/imageDetails/abc123`) that was originally attached to the smart link. Useful for extracting the base route or content reference associated with the shared link.
884+
- **`getCanonicalIdentifierFromLink(linkData)`** - Returns the canonical path (e.g., `/imageDetails/abc123`) that was originally attached to the smart link. Useful for extracting the base route or content reference associated with the shared link.
885885
886886
- **`getReferringLinkFromLink(linkData)`** - Retrieves the full Branch smart link URL from the data (typically under the `~referring_link` key). Useful for tracking, analytics, or verifying the source of the link.
887887
888-
- **`getLastPathSegmentFromMap(linkData, key)`** - Extracts the last path segment (e.g `abc123`) from a URI stored inside a link data field (e.g. `/imageDetails/abc123`). Useful for extracting the ID from a link.
888+
- **`getLastPathSegmentFromMap(linkData, key)`** - Extracts the last path segment (e.g., `abc123`) from a URI stored inside a link data field (e.g., `/imageDetails/abc123`). Useful for extracting the ID from a link.
889889
890-
- **`getLinkValue(linkData, key)`** - Safely retrieves any single value from the link data Map. Returns null if not found. (e.g retrieving `showPromo` attribute value from the `linkData`).
890+
- **`getLinkValue(linkData, key)`** - Safely retrieves any single value from the link data Map. Returns null if not found. (e.g., retrieving `showPromo` attribute value from the `linkData`).
891891
892892
- **`createLinkProperties(...)`** - Returns a Branch Link Properties map used when generating a smart link. You can define values like: feature, campaign, stage, channel, alias or tags or custom fallback URLs. Useful for organizing and tracking generated links for marketing or referrals.
893893

docs/ff-concepts/navigation-routing/generate-current-page-link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Using this action, you can generate the dynamic link for the current page.
1818

1919
:::info[Prerequisites]
2020

21-
Before adding this action, ensure you have performed all the steps to [**add the dynamic link**](deep-dynamic-linking.md#dynamic-links-with-branchio).
21+
Before adding this action, ensure you have performed all the steps to [**add the dynamic link**](deep-dynamic-linking.md#deep-links-with-branchio).
2222
:::
2323

2424
## Defining Generate Current Page Link action

0 commit comments

Comments
 (0)