# 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](https://edentech.gitbook.io/glover/backend/custom-dynamic-link "mention")

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.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVNlKuUeCM_uD7sLQnM%2Fuploads%2F3e6VGdd3RgxHqgQC6Vhm%2Fimage.png?alt=media\&token=4ee586e5-a303-48d0-b209-403ed30e43a5)

* 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.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVNlKuUeCM_uD7sLQnM%2Fuploads%2FangObXdynCPxlIBfDKAg%2Fimage.png?alt=media\&token=6abef6e0-3d47-4f8d-aa29-a9aadd7964b6)

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](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVNlKuUeCM_uD7sLQnM%2Fuploads%2Fk7tK0AG4jSW5uhgA3nAe%2Fimage.png?alt=media\&token=03370e55-4fbb-477f-9cee-c78110e4225a)

## 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](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVNlKuUeCM_uD7sLQnM%2Fuploads%2FkqZinjGJleNNb6cawdv6%2Fimage.png?alt=media\&token=2537b121-720e-42b5-bb7e-e771c805869a)

### 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.

![](https://2231621966-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVNlKuUeCM_uD7sLQnM%2Fuploads%2FxhGZsYXFMgBTY6nqNgpc%2Fimage.png?alt=media\&token=a3e46b9e-e23c-4857-a167-e32a0ff7eb0c)

* 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.
