> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/glover/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/glover/flutter-app/share-link-firebase-dynamic-link-deprecated.md).

# Share link - Firebase dynamic link \[Deprecated]

Firebase has drop support for firebase dynamic linking, so don't ue this guide for newer Glover version 1.8.00++

[Custom Dynamic Link](/glover/backend/custom-dynamic-link.md)

Share link as introduced in **Glover 1.5.7.** You can share dynamic link to product page or vendor details page.

* First before you can use this feature, you need to setup dynamic link on your firebase console. Visit your firebase console and select dynamic links in list of menu on the sidebar.
* Click on the "Get Started" button, and you will be shown a dialog form with input for you to enter your domain url.

![](/files/6ICIw4qMEgHYUF8iqdlS)

* You can use a no-cost custom **page.link** subdomain. Enter a domain that matches your app name, for example we used: **fuodzglover.page.link.** You can use anything for yours.

![](/files/dgC4Rt4nCMhXBOo9rv8X)

Then click on **continue** to save it

{% hint style="info" %} <mark style="color:red;">**Note**</mark>: Its possible that your preferred domain is taken, you just have to try a new one that is yet to be taken.&#x20;

For example if **glover.page.link** is taken, you can try **glover2022.page.link**
{% endhint %}

### Setup on Backend

After creating the dynamic link prefix from the step provide above, you need to save that link in the backend.

* Go to setting menu and click on Dynamic link setting
* Then enter the link you created above in the dynamic link prefix input. You also need to enter the customer app package name(Android) and Bundle ID(iOS).
* Then click on save

![Setup dynamic link in backend](/files/HN8kbXM0WB1yCwcqAqNp)

## Customer Mobile App Setup

Dynamic link for sharing is only avaible on the customer app, so you only need to perform the steps below only in the customer app code.

### Android

You just have to add your domain host in the AndroidManifest.xml file

Find the line with "`android:host`" and check the value from "`edentech.online`" to your domain name, **for example** if your backend is <mark style="color:blue;"><https://backend.foodsale.com></mark>", set "<mark style="color:blue;">foodsale.com</mark>"

![Change AndroidManifest.xml host](/files/qzKlH8yLlaqpjBYe1dVR)

### iOS

For iOS you need to make changes to 2 files, <mark style="color:blue;">**Runner.entitlements**</mark> and <mark style="color:blue;">**RunnerDebug.entitlements.**</mark>

* You can find both file in the path: **ios => Runner** folder.

![](/files/IlH7WgJqEw0gkJsB2yBL)

* In both file find the occurence of <mark style="color:blue;">**`fuodzglover.page.link`**</mark> and replace it with the link you create from the beginning of this setup process.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edentech.gitbook.io/glover/flutter-app/share-link-firebase-dynamic-link-deprecated.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
