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

Cannot take screenshot for WebView by using RepaintBoundary? #25

Closed
zhaoya188 opened this issue Dec 13, 2018 · 3 comments
Closed

Cannot take screenshot for WebView by using RepaintBoundary? #25

zhaoya188 opened this issue Dec 13, 2018 · 3 comments

Comments

@zhaoya188
Copy link

zhaoya188 commented Dec 13, 2018

screenshot

@pichillilorenzo
Copy link
Owner

I think the problem is that because InAppWebView uses the native widget of the platform, so RepaintBoundary won't work here. However, to take a screenshot of the InAppWebView page, you can use the inAppWebViewController.takeScreenshot() method!

@datpt11
Copy link

datpt11 commented May 23, 2024

takeScreenshot not only captures the content in the viewport, but not all webview content @pichillilorenzo

Copy link

github-actions bot commented Oct 3, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants