-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PreviewData is Empty and no preview #61
Comments
I figured it out.
Adding the option using such request headers might be an idea? @demchenkoalex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code is placed on my
StatefulWidget
.Called with two URLs on the Web platform I get the following response in the
data
parameter and (of course) no preview is shown, but why is thePreviewData
object empty? I have a feeling that the data are never fetched because of an async call somewhere in the flutter_link_previewer library?An error comes in
getPreviewData
whenhttp.get
is called and it goes to the catch block.Please have a look at this post for solving the problem: dart-flutter-http-request-raises-xmlhttprequest-error as it is probably the issue???
The text was updated successfully, but these errors were encountered: