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 · 2 comments
Closed

Cannot take screenshot for WebView by using RepaintBoundary? #25

zhaoya188 opened this issue Dec 13, 2018 · 2 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

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

3 participants