Open iqfareez opened 3 years ago
@iqfareez yes, that is because we make HTTP call to the URL. Now as that URL redirects it to resultant URL, you will be shown resultant URL's preview..
I see. Understood but you have any idea I can get the preview of the dynamic link itself?
@iqfareez can you tell me more about the requirement here? The screenshot that you have shared, is it the dynamic link's preview shown in whatsapp?
@Amitbhave I'm not really sure about the requirement. The docs not really helpful. The link preview (that I want) works on major social platform (WhatsApp, Twitter etc).
Dynamic Link social preview doc: https://firebase.google.com/docs/dynamic-links/link-previews
I have long url, say https://flutree.web.app/NWfLo and I shorten it, adding social metadata in app and it became https://flut.page.link/hcpa.
So, when tap the shorten link, it should redirect to the long link.
The problem is, this package returns a preview of the redirected link, not the Firebase Dynamic Link one.
My Code:
Screenshot: This package:
How I want it to look like: