Skip to content
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

Is it work in Webview? #26

Closed
izzabellerina opened this issue Oct 2, 2020 · 6 comments
Closed

Is it work in Webview? #26

izzabellerina opened this issue Oct 2, 2020 · 6 comments

Comments

@izzabellerina
Copy link

I have been trying to screen capture a picture of WebView and the result that I get is an empty picture. Do you have a solution to solve them? I had no error in the command line, it only sent me an empty picture. Thank you in advance.

@SachinGanesh
Copy link
Owner

This feature is currenly not available for the Web. flutter/engine#20750 solves this problem. Should wait till this fix is released to the stable branch

@peterlauri
Copy link

The mentioned issue was merged to master 2nd of September. I don't find a good way to actually figure out if it has reached stable or not.

@izzabellerina
Copy link
Author

This feature is currenly not available for the Web. flutter/engine#20750 solves this problem. Should wait till this fix is released to the stable branch

Thank you so much

@ritheshSalyan
Copy link
Collaborator

We cannot capture platform views because of the issue flutter/flutter#25306. but you can use https://pub.dev/packages/flutter_inappwebview package. it provides a method takeScrenshoot to take screenshot of webview.

you can find same method in google_maps as well

@dayron9110
Copy link

News?

@ritheshSalyan
Copy link
Collaborator

Closing in favour of #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants