Share link - Firebase dynamic link

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.

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

Then click on continue to save it

Note: Its possible that your preferred domain is taken, you just have to try a new one that is yet to be taken.

For example if glover.page.link is taken, you can try glover2022.page.link

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

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 https://backend.foodsale.com", set "foodsale.com"

iOS

For iOS you need to make changes to 2 files, Runner.entitlements and RunnerDebug.entitlements.

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

  • In both file find the occurence of fuodzglover.page.link and replace it with the link you create from the beginning of this setup process.

Last updated