Closed Ashik55 closed 5 months ago
Same here.
any solutions for flutter web
Still a massive isssue for me
same here
ANYONE HAVING THE PROBLEM HERE IS THE SOLUTION.
Preface your web url's with https://corsproxy.org/? then the url.
var webUrl = "https://corsproxy.org/?$url";
Use it in the AnyLinkPreview parameter: link: kIsWeb ? webUrl : url,
Problem solved.
Hi,
As the documentation mentions, One must send a CORS Proxy URL for AnyLinkPreview to work on the Web.
As @dennislbc rightly shared in the snippet above, This is expected. Thanks for that @dennislbc
Free CORS proxies eventually stop working - someone needs to pay for the service. Best to host the code as a function of a cloud server of your choice.
library working fine for flutter mobile apps but not working in flutter web.