Skip to content

Commit baa2587

Browse files
Apply suggestions from code review
Co-authored-by: pinkeshmars <[email protected]>
1 parent 5b8e7f6 commit baa2587

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ In this step, You will set the URL scheme. To do that:
8989
![img_3.png](imgs/img_3.png)
9090

9191
:::tip
92-
We recommend enabling this option to increase user engagement with your app
92+
We recommend enabling this option to increase user engagement with your app.
9393
:::
9494

9595
#### 2. Setting page URL
@@ -521,17 +521,17 @@ Here's a short demo:
521521
To make **Branch Smart Links** work in your FlutterFlow app, you’ll need to update the native configuration files via the **Custom Code** tab in your project.
522522

523523
1. First, create environment variables for:
524-
- `branchHostUrl` (e.g. `brnch4.app.link`)
524+
- `branchHostUrl` (e.g., `brnch4.app.link`)
525525
- `branchKey` (your Branch key, use it for production and optionally `branchKeyTest` for dev environments. You can toggle modes through Branch dashboard and also through FlutterFlow environment toggling).
526526

527527
2. Then navigate to, FlutterFlow > Custom Code > Configuration Files.
528528

529529

530530
**🔧 Android Setup**
531531

532-
1. Create two variables in `AndroidManifest.xml` file named `branchKey` and `branchHostUrl` and bind it to the environment variables we earlier created.
532+
1. Create two variables in `AndroidManifest.xml` file named `branchKey` and `branchHostUrl` and bind them to the environment variables we earlier created.
533533

534-
2. Add an `intent-filter` block to your **Main Activity** through the **Activity Tags hook**:
534+
2. Add an `intent-filter` block to your **Main Activity** through the **Activity Tags** hook:
535535

536536
```xml
537537
<intent-filter android:autoVerify="true">
@@ -555,15 +555,15 @@ To make **Branch Smart Links** work in your FlutterFlow app, you’ll need to up
555555

556556
1. In `Info.plist`, add a new variable called `branchKey` and bind it to the environment variable.
557557

558-
2. In `Info.plist`, add:
558+
2. In `Info.plist`, add the following code snippet.
559559

560560
```xml
561561
<key>branch_key</key>
562562
<string>{{branchKey}}</string>
563563
```
564564
3. In `Runner.entitlements`, add a new variable called `branchHostUrl` and bind it to the environment variable.
565565

566-
4. In `Runner.entitlements`, add:
566+
4. In `Runner.entitlements`, add the following code snippet.
567567

568568
```xml
569569
<key>com.apple.developer.associated-domains</key>
@@ -583,7 +583,7 @@ Settings & Integrations > App Settings > App Details
583583

584584
2. Scroll to **Routing & Deep Linking** section.
585585

586-
3. Under Custom URI Scheme, match the URI host/domain to what’s defined in your Branch dashboard (e.g. `brnch4://` or `dreambrush://`).
586+
3. Under Custom URI Scheme, match the URI host/domain to what’s defined in your Branch dashboard (e.g., `brnch4://` or `dreambrush://`).
587587

588588
![custom-uri.png](imgs/custom-uri.png)
589589

@@ -595,15 +595,15 @@ You're now ready to use Branch Smart Links in a FlutterFlow app with seamless de
595595
To integrate Branch with your FlutterFlow app, you'll use the [`flutter_branch_sdk`](https://pub.dev/packages/flutter_branch_sdk) Dart package. This will allow your app to listen to Branch links and respond accordingly.
596596

597597

598-
1. Go to your **FlutterFlow project > Pubspec Dependencies tab**, and add:
598+
1. Go to your **FlutterFlow project > Settings and Integrations > Pubspec Dependencies** tab, and add the following dependency.
599599

600600
```js
601601
flutter_branch_sdk: ^5.0.1
602602
```
603-
(Use the latest version available from [pub.dev](https://pub.dev/packages/flutter_branch_sdk))
603+
Make sure to use the latest version available from [pub.dev](https://pub.dev/packages/flutter_branch_sdk)
604604

605605

606-
2. Create a Custom Action to initialize Branch SDK. This ensures the Branch session is set up when your app starts.
606+
2. Create a Custom Action to initialize the Branch SDK. This ensures the Branch session is set up when your app starts.
607607

608608
```js
609609
import 'package:flutter_branch_sdk/flutter_branch_sdk.dart';

0 commit comments

Comments
 (0)